diff --git a/composer.json b/composer.json index cb3558c..c6919f7 100644 --- a/composer.json +++ b/composer.json @@ -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');\"" + ] } }