17 Feb 2017
composer require barryvdh/laravel-ide-helper
Add to file `app/config/app.php` in `Application Service Providers` section
Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class,
Enable in (config/ide-helper.php)
'include_fluent' => true,
'include_helpers' => true,
Then
php artisan ide-helper:generate
php artisan ide-helper:meta
php artisan ide-helper:models
Script to composer.json
"scripts":{
"post-update-cmd": [
"Illuminate\\Foundation\\ComposerScripts::postUpdate",
"php artisan ide-helper:generate",
"php artisan ide-helper:meta",
"php artisan optimize"
]
},