官网地址 https://github.com/barryvdh/laravel-ide-helper
1.在项目根目录命令输入(使用composer安装)
composer require barryvdh/laravel-ide-helper
2.在config/app.php中添加代码如下:
'providers' => [ Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class, ]
3.命令行执行:(生成代码跟踪支持)
php artisan ide-helper:generate