Use composer to copy .env.example after its done installing packages. (#1073)

This commit is contained in:
MartinOscar 2025-03-22 14:06:47 +01:00 committed by GitHub
parent 03d6c88f65
commit ab953b2f4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -80,11 +80,8 @@
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump"
],
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi"
"post-install-cmd": [
"php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"dev": [
"Composer\\Config::disableProcessTimeout",