autocompletado laravel 5 ide
Quiero cambiar a laravel 5, pero tengo algunos problemas con ide - autocompletado. Estoy usando phpstorm. En google, las respuestas siempre terminan sugiriendo usarhttps://github.com/barryvdh/laravel-ide-helper . Pero parece que está roto para Laravel 5.
Los pasos que estoy haciendo son:
Instalar Laravel 5
composer create-project laravel/laravel
Requerir ide-helper
composer require barryvdh/laravel-ide-helper
Se agregó 'Barryvdh \ LaravelIdeHelper \ IdeHelperServiceProvider',
....
'Illuminate\Translation\TranslationServiceProvider',
'Illuminate\Validation\ValidationServiceProvider',
'Illuminate\View\ViewServiceProvider',
'Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider',
Intentando generar el archivo auxiliar
artisan ide-helper:generate
Pero siempre se rompe con el siguiente error:
exception 'InvalidArgumentException' with message 'There are no commands defined in the "ide-helper" namespace.' in C:\xampp\htdocs\test\vendor\symfony\console\Symfony\Component\Console\Application.php:501
0 C:\xampp\htdocs\test\vendor\symfony\console\Symfony\Component\Console\Application.php(535): Symfony\Component\Console\Application->findNamespace('ide-helper')
1 C:\xampp\htdocs\test\vendor\symfony\console\Symfony\Component\Console
\Application.php(192): Symfony\Component\Console\Application->find('ide-helper:gene...')
2 C:\xampp\htdocs\test\vendor\symfony\console\Symfony\Component\Console\Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Outpu
t\ConsoleOutput))
3 C:\xampp\htdocs\test\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php(91): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Out
put\ConsoleOutput))
4 C:\xampp\htdocs\test\artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
5 {main}
Quizás alguien tuvo el mismo problema y puede ayudarme. Estoy abierto a diferentes soluciones para el autocompletado que no sean ide-helper de barryvdh.