diff --git a/README.md b/README.md index c7c78f91f..d57dc2f19 100644 --- a/README.md +++ b/README.md @@ -110,6 +110,47 @@ You can use an in-memory SQLite driver by adding the `-M` option. You can choose to include helper files. This is not enabled by default, but you can override it with the `--helpers (-H)` option. The `Illuminate/Support/helpers.php` is already set up, but you can add/remove your own files in the config file. +#### Cooperation with release builds +Create a file `app/Console/Commands/IdeHelperDoIt.php`: +```php + true]); + } + } +} +``` + +In `composer.json` you can then add `"@php artisan ide-helper:do-it"` that will gracefully work indepent of `--no-dev` composer installs. + +It checks wether `APP_ENV="local"` is in `.env`. You can change that to match your setup. + ### Automatic PHPDoc generation for macros and mixins This package can generate PHPDocs for macros and mixins which will be added to the `_ide_helper.php` file.