From f583a9d23fcc2175e2a2245e2417fc3baedf9c93 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Sun, 9 Jun 2013 20:24:38 -0500 Subject: [PATCH] Added post create-project command to generate key. --- composer.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 18d39933..0162a474 100644 --- a/composer.json +++ b/composer.json @@ -16,14 +16,17 @@ ] }, "scripts": { - "pre-update-cmd": [ - "php artisan clear-compiled" - ], "post-install-cmd": [ "php artisan optimize" ], + "pre-update-cmd": [ + "php artisan clear-compiled" + ], "post-update-cmd": [ "php artisan optimize" + ], + "post-create-project-cmd": [ + "php artisan key:generate" ] }, "config": {