add copy .env file after install

This commit is contained in:
Gregory Letellier
2023-11-14 15:31:54 +01:00
parent f024cceb6b
commit 7cee4e1d94

View File

@@ -34,5 +34,10 @@
"pestphp/pest-plugin": true,
"infection/extension-installer": true
}
},
"scripts": {
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.default', '.env');\""
]
}
}