![]() In Laravel, instead of adding the service provider in the config/app.php file, you can add the following code to your app/Providers/AppServiceProvider. 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. Once installed, we have to add the Laravel IDE helper as a ServiceProvider into our application. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |