diff --git a/readme.md b/readme.md index f6c608f..e16741a 100644 --- a/readme.md +++ b/readme.md @@ -29,7 +29,7 @@ Note: You do need CodeComplice for Sublime Text: https://github.com/spectacles/C Require this package with composer using the following command: ```bash -composer require barryvdh/laravel-ide-helper +composer require --dev barryvdh/laravel-ide-helper ``` After updating composer, add the service provider to the `providers` array in `config/app.php` @@ -39,12 +39,6 @@ Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class, ``` **Laravel 5.5** uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider. -To install this package on only development systems, add the `--dev` flag to your composer command: - -```bash -composer require --dev barryvdh/laravel-ide-helper -``` - 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.php` file, within the `register()` method: ```php