Browse Source

Use ComposerScripts

Use ComposerScripts to avoid loading any configuration/compiled files.
Barry vd. Heuvel 8 years ago
parent
commit
40e5e164a9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      composer.json

+ 2 - 2
composer.json

@@ -36,11 +36,11 @@
             "php artisan key:generate"
         ],
         "post-install-cmd": [
-            "php artisan clear-compiled",
+            "Illuminate\\Foundation\\ComposerScripts::postInstall",
             "php artisan optimize"
         ],
         "post-update-cmd": [
-            "php artisan clear-compiled",
+            "Illuminate\\Foundation\\ComposerScripts::postUpdate",
             "php artisan optimize"
         ]
     },