diff --git a/readme.md b/readme.md index f0f15b9..195816b 100644 --- a/readme.md +++ b/readme.md @@ -8,6 +8,11 @@ Add the helper file to your laravel folder (not in a public folder). The file is * SublimeText CodeIntel version: https://gist.github.com/barryvdh/5227814 ### Automatic phpDoc generation for Laravel Facades +#### NOTE: run before optimising. If bootstrap/compiled.php is loaded, it doesn't work. + + php artisan clear-compiled + php artisan ide-helper:generate + php artisan optimize Require this package in your composer.json: @@ -31,8 +36,8 @@ You can configure your composer.json to do this after each commit: "scripts":{ "post-update-cmd":[ - "php artisan optimize", "php artisan ide-helper:generate", + "php artisan optimize" ] }, @@ -71,4 +76,4 @@ After copying the phpdocs to your model, you can clear the file, so your IDE onl ### License -The Laravel IDE Helper Generator is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT) \ No newline at end of file +The Laravel IDE Helper Generator is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)