composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
composer create-project --prefer-dist laravel/laravel=6.* haoran
composer require barryvdh/laravel-ide-helper --dev
config/app中添加
Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class,
terminal运行
php artisan ide-helper:generate
composer require barryvdh/laravel-debugbar --dev
Barryvdh\Debugbar\ServiceProvider::class,