From 0ead2a6772706e8a5d31a522d7327fb684114c1c Mon Sep 17 00:00:00 2001 From: George John Date: Fri, 17 Feb 2017 16:50:59 +0530 Subject: [PATCH] Composer update --- composer.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 5f01c70d..f6f92b1d 100755 --- a/composer.json +++ b/composer.json @@ -30,8 +30,11 @@ ] }, "scripts": { + "post-root-package-install": [ + "php -r \"file_exists('.env') || copy('.env.example', '.env');\"" + ], "post-create-project-cmd": [ - + "php artisan key:generate" ], "post-install-cmd": [ "Illuminate\\Foundation\\ComposerScripts::postInstall", @@ -43,6 +46,7 @@ ] }, "config": { - "preferred-install": "dev" + "preferred-install": "dist", + "sort-packages": true } }