I found this tutorial to install a plugin for Laravel and have its methods completed by PHPStorm.
I does not seem to work for Lumen. Are there any solutions out there that currently support Lumen since Lumen is kind of a subset of Laravel?
Laravel-ide-helper supports Lumen as of August 2015. Here's what you need to do:
Either execute the command
composer require barryvdh/laravel-ide-helper
or add the following to the require
key in composer.json
:
"barryvdh/laravel-ide-helper": "2.*"
Once you have installed the dependency, edit the file bootstrap/app.php
and look for the Register Service Providers section and add the following line:
$app->register(Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class);
After that, you just need to create the _ide_helper.php
file with the following command:
php artisan ide-helper:generate
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With