From 16e0a5ecc9d80fd3cc49263d2271b0ebef053215 Mon Sep 17 00:00:00 2001
From: W <W>
Date: Wed, 20 Feb 2019 21:58:31 +0700
Subject: [PATCH] adding post-install-cmd

---
 composer.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/composer.json b/composer.json
index 0a18dae..e00a650 100644
--- a/composer.json
+++ b/composer.json
@@ -60,6 +60,6 @@
         "post-create-project-cmd": [
             "@php artisan key:generate --ansi"
         ],
-        "post-install-cmd": [ "php artisan clear-compiled" ]
+        "post-install-cmd": [ "php artisan clear-compiled", "php artisan optimize" ]
     }
 }
-- 
GitLab