首先安装composer,
附安装步骤(https://blog.csdn.net/qq_38125058/article/details/81280437)
composer安装laravel指定版本命令:
composer create-project - -prefer-dist laravel/laravel test
默认安装最新版本,如想安装指定版本,在其后追加指定的版本号即可,
例安装laravel5.4版本,
composer create-project - -prefer-dist laravel/laravel blog 5.4.*