
Laravel 5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider. Require this package with composer using the following command: composer require -dev barryvdh/laravel-ide-helperĪfter updating composer, add the service provider to the providers array in config/app.php Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class, Note: You do need CodeComplice for Sublime Text: Install If you don't want to generate it, you can add a pre-generated file to the root folder of your Laravel project (but this isn't as up-to-date as self generated files). Generation is done based on the files in your project, so they are always up-to-date. This package generates a file that your IDE understands, so it can provide accurate autocompletion. php artisan ide-helper:meta - PhpStorm Meta file.php artisan ide-helper:models - phpDocs for models.php artisan ide-helper:generate - phpDoc generation for Laravel Facades.

For Laravel 4.x, check version 1.11 Complete phpDocs, directly from the sourceĬheck out this Laracasts video for a quick introduction/explanation!
