Skip to content

Commit 7034e34

Browse files
committed
key:generate will automatically execute every time any package is installed/updated.
1 parent 0901b45 commit 7034e34

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

composer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@
1717
"php artisan key:generate"
1818
],
1919
"post-install-cmd": [
20-
"Illuminate\\Foundation\\ComposerScripts::postInstall"
20+
"Illuminate\\Foundation\\ComposerScripts::postInstall",
21+
"php artisan key:generate"
2122
],
2223
"post-update-cmd" :[
23-
"Illuminate\\Foundation\\ComposerScripts::postInstall"
24+
"Illuminate\\Foundation\\ComposerScripts::postInstall",
25+
"php artisan key:generate"
2426
]
2527
},
2628
"config": {

0 commit comments

Comments
 (0)