PHPStorm plugin for Lumen is exactly the same as Laravel

I found this tutorial to install the plugin for Laravel and execute its PHPStorm methods.

I don't seem to work for Lumen. Are there any solutions that currently support Lumen, since Lumen is a kind of subset of Laravel?

+7
php phpstorm laravel lumen
source share
1 answer

Laravel-ide-helper supports Lumen as of August 2015. Here is what you need to do:

Or run the command

composer require barryvdh/laravel-ide-helper 

or add the following to require in composer.json :

 "barryvdh/laravel-ide-helper": "2.*" 

After you have installed the dependency, edit the bootstrap/app.php and find the "Registration 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 
+6
source share

All Articles