[5.1] Move copying .env.example to post-root-package-install
[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 <e1a543840a942eb68427510a8a483282a7bfeddf@gmail.com>

zhiyicx/thinksns-plus,flysap/skeleton,SIJOT/SIJOT-2.x,hackel/laravel,thosakwe/rGuard,remxcode/laravel-base,xezw211/wx,tkc/laravel-unit-test-sample,tinywitch/laravel,kerick-jeff/iPub,sergi10/rfuerzo,Stolz/Wiki,beautifultable/phpwind,Stolz/Wiki,zeropingheroes/lanyard,lcp0578/Wiki,thosakwe/rGuard,farwish/laravel-pro,lxerxa/actionview,superdol/Wiki,beautifultable/phpwind,tkc/laravel-unit-test-sample,kerick-jeff/iPub,lxerxa/actionview,hackel/laravel,slimkit/thinksns-plus,cbnuke/FilesCollection,thosakwe/rGuard,kerick-jeff/istore,hackel/laravel,kerick-jeff/istore,SIJOT/SIJOT-2.x,zeropingheroes/lanyard,zeropingheroes/lanyard,thosakwe/rGuard,xezw211/wx,slimkit/thinksns-plus,remxcode/laravel-base,tkc/laravel-unit-test-sample,kerick-jeff/iPub,Stolz/Wiki,tkc/laravel-unit-test-sample,lcp0578/Wiki,boomcms/boomcms,lcp0578/Wiki,lxerxa/actionview,lxerxa/actionview,orckid-lab/dashboard,cbnuke/FilesCollection,sergi10/rfuerzo,superdol/Wiki,superdol/Wiki,orckid-lab/dashboard,sergi10/rfuerzo,flysap/skeleton,thosakwe/rGuard,xezw211/wx,zhiyicx/thinksns-plus,farwish/laravel-pro