diff --git a/composer.json b/composer.json index 9ce0f21245f1..009d60392f89 100644 --- a/composer.json +++ b/composer.json @@ -136,7 +136,7 @@ }, "extra": { "laravel": { - "dont-discover": ["*"] + "dont-discover": [] } }, "scripts": { @@ -146,16 +146,15 @@ "@php artisan vendor:publish --tag=laravel-assets --ansi --force" ], "post-root-package-install": [ - "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" ], "post-create-project-cmd": [ - "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"", "@php artisan key:generate", "@php artisan storage:link" ], "post-autoload-dump": [ "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", - "@php artisan package:discover --ansi" + "@php artisan package:discover --ansi", + "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" ], "format": [ "vendor/bin/php-cs-fixer fix"