From 5e7558966778c48c3a44aedd642006e42cbc217b Mon Sep 17 00:00:00 2001
From: W <W>
Date: Wed, 20 Feb 2019 21:55:18 +0700
Subject: [PATCH] adding post-install-cmd

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

diff --git a/composer.json b/composer.json
index 8e91209..454353d 100644
--- a/composer.json
+++ b/composer.json
@@ -59,6 +59,7 @@
         ],
         "post-create-project-cmd": [
             "@php artisan key:generate --ansi"
-        ]
+        ],
+        "post-install-cmd": [ "php artisan clear-compiled", "php artisan optimize", "chmod -R 777 storage", "php artisan passport:keys" ]
     }
 }
-- 
GitLab