安装指定版本 composer create-project laravel/laravel=5.6.* demo --prefer-dist 查看Laravel版本号: php artisan --version