composer.json に追記
"require": {
"laravel/framework": "4.2.*",
"barryvdh/laravel-ide-helper": "1.*",
...
},
コマンド実行
composer update
app/config/app.php に追記
'providers' => array(
...
'Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider',
},
composer.json に追記
"scripts": {
"post-install-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
],
"post-update-cmd": [
"php artisan clear-compiled",
"php artisan ide-helper:generate",
"php artisan optimize"
],
コマンド実行
composer update