目前是 v5.2,project_name 改为你要的目录名就好
composer create-project laravel/laravel project_name --prefer-dist -vvv
v5.1
composer create-project laravel/laravel project_name "5.1.*" --prefer-dist -vvv
sudo
-vvv
会有详细日志,再也不用以为卡死啦
- 执行
composer require barryvdh/laravel-ide-helper
- 在
config/app.php
增加Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class,
- 执行
php artisan ide-helper:generate
- 执行
composer require barryvdh/laravel-debugbar
- 在
config/app.php
增加Barryvdh\Debugbar\ServiceProvider::class,