From 9a6739ee0603ca58da7222874f8f333d620ad357 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Tue, 26 Sep 2017 12:23:29 -0400 Subject: [PATCH] Update composer.json to reflect upstream laravel --- composer.json | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/composer.json b/composer.json index b37dc28..4171be2 100644 --- a/composer.json +++ b/composer.json @@ -5,8 +5,9 @@ "license": "MIT", "type": "project", "require": { - "php": ">=5.6.4", - "laravel/framework": "5.4.*", + "php": ">=7.0.0", + "fideloper/proxy": "~3.3", + "laravel/framework": "5.5.*", "laravel/tinker": "~1.0", "radic/blade-extensions": "~7.0", "erusev/parsedown": "~1.5", @@ -15,13 +16,15 @@ "maatwebsite/excel": "^2.1" }, "require-dev": { + "filp/whoops": "~2.0", "fzaninotto/faker": "~1.4", "mockery/mockery": "0.9.*", - "phpunit/phpunit": "~5.0" + "phpunit/phpunit": "~6.0" }, "autoload": { "classmap": [ - "database" + "database/seeds", + "database/factories" ], "psr-4": { "App\\": "app/" @@ -32,24 +35,27 @@ "Tests\\": "tests/" } }, + "extra": { + "laravel": { + "dont-discover": [ + ] + } + }, "scripts": { "post-root-package-install": [ - "php -r \"file_exists('.env') || copy('.env.example', '.env');\"" + "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" ], "post-create-project-cmd": [ - "php artisan key:generate" + "@php artisan key:generate" ], - "post-install-cmd": [ - "Illuminate\\Foundation\\ComposerScripts::postInstall", - "php artisan optimize" - ], - "post-update-cmd": [ - "Illuminate\\Foundation\\ComposerScripts::postUpdate", - "php artisan optimize" + "post-autoload-dump": [ + "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", + "@php artisan package:discover" ] }, "config": { "preferred-install": "dist", - "sort-packages": true + "sort-packages": true, + "optimize-autoloader": true } }