From 721a7cd3f7a1eb22f3cbc621a673df2ff4f72315 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Sat, 2 Sep 2017 21:25:00 +0100 Subject: [PATCH] The 'artisan optimize' command is deprecated --- readme.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index 25dcb11..fbdc6db 100644 --- a/readme.md +++ b/readme.md @@ -66,7 +66,7 @@ You can now re-generate the docs yourself (for future updates) php artisan ide-helper:generate ``` -Note: `bootstrap/compiled.php` has to be cleared first, so run `php artisan clear-compiled` before generating (and `php artisan optimize` after). +Note: `bootstrap/compiled.php` has to be cleared first, so run `php artisan clear-compiled` before generating. You can configure your composer.json to do this after each commit: @@ -75,8 +75,7 @@ You can configure your composer.json to do this after each commit: "post-update-cmd": [ "Illuminate\\Foundation\\ComposerScripts::postUpdate", "php artisan ide-helper:generate", - "php artisan ide-helper:meta", - "php artisan optimize" + "php artisan ide-helper:meta" ] }, ```