From 40e5e164a91d12f6d95c2db74cbf592b85448fd6 Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Wed, 23 Mar 2016 15:27:01 +0100 Subject: [PATCH] Use ComposerScripts Use ComposerScripts to avoid loading any configuration/compiled files. --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index f51662842a2..4943e17d00d 100644 --- a/composer.json +++ b/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" ] },