Skip to content

Commit 74784c2

Browse files
committed
Add post install script for the env file
1 parent 4f61962 commit 74784c2

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

composer.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,10 @@
1414
}
1515
],
1616
"minimum-stability": "dev",
17-
"prefer-stable": true
17+
"prefer-stable": true,
18+
"scripts": {
19+
"post-root-package-install": [
20+
"@php -r \"file_exists('.env') || copy('.env.stub', '.env');\""
21+
]
22+
}
1823
}

0 commit comments

Comments
 (0)