PHPStorm Laravel ide-helper
Feb 162016I'm trying to port over to PHPStorm from Sublime to improve my workflow. However, I am having trouble getting the ide-helper to work in PHPStorm to remove all the undefined class and namespaces error.
I have installed installed barryvdh-laravel-ide-helper via composer:
"require-dev": {
"barryvdh/laravel-ide-helper": "^2.1",
"doctrine/dbal": "~2.3"
},
added the service provider in config/app.php
Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class,
and generated the _ide_helper.php file with artisan:
php artisan clear-compiled
php artisan ide-helper:generate
php artisan optimize
https://laracasts.com/discuss/channels/general-discussion/phpstorm-laravel-ide-helper?page=1