Browse Source

Added post create-project command to generate key.

Taylor Otwell 11 years ago
parent
commit
f583a9d23f
1 changed files with 6 additions and 3 deletions
  1. 6 3
      composer.json

+ 6 - 3
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": {