进入项目根目录,执行:
composer require --dev barryvdh/laravel-ide-helper
在 config/app.php
文件的 providers
数组中添加:
BarryvdhLaravelIdeHelperIdeHelperServiceProvider::class,
终端中执行:
php artisan ide-helper:generate
composer require --dev barryvdh/laravel-ide-helper
config/app.php
文件的 providers
数组中添加:BarryvdhLaravelIdeHelperIdeHelperServiceProvider::class,
php artisan ide-helper:generate
_ide_helper.php
文件