[5.1] Move copying .env.example to post-root-package-install
post-create-project-cmd is executed only after post-install-cmd and this could cause issue on the first installation (via composer create-project) where environment is not prepared hence `php artisan optimize` would generate `compiled.php`. Signed-off-by: crynobone <crynobone@gmail.com>
Showing
Please
register
or
sign in
to comment