From 417f8662afbadbcb0521efe7d599e73dd8f19595 Mon Sep 17 00:00:00 2001 From: leorenis Date: Sat, 2 Nov 2019 10:25:19 -0300 Subject: [PATCH 1/2] Atualizando versao para laravel ~6 no composer. --- .gitignore | 1 + composer.json | 14 +++++++------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 8b7ef35..3806554 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /vendor +/.idea composer.lock diff --git a/composer.json b/composer.json index f7caf7d..cc3a6ff 100644 --- a/composer.json +++ b/composer.json @@ -14,17 +14,17 @@ } ], "require": { - "php": ">=5.4.0", - "illuminate/database": "~5", - "illuminate/support": "~5", - "illuminate/pagination": "~5", - "illuminate/contracts": "~5", + "php": "^7.2", + "illuminate/database": "~6", + "illuminate/support": "~6", + "illuminate/pagination": "~6", + "illuminate/contracts": "~6", "league/fractal": "~0.14" }, "require-dev": { - "illuminate/container": "~5", - "illuminate/http": "~5" + "illuminate/container": "~6", + "illuminate/http": "~6" }, "autoload": { "psr-4": { From 8a4c859e42c99b72d84bb1bad9ffcb3e557dbd7f Mon Sep 17 00:00:00 2001 From: leorenis Date: Sat, 2 Nov 2019 17:41:14 -0300 Subject: [PATCH 2/2] Add extras on composer file. --- composer.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/composer.json b/composer.json index cc3a6ff..9be26dd 100644 --- a/composer.json +++ b/composer.json @@ -31,6 +31,13 @@ "Artesaos\\Warehouse\\": "src/" } }, + "extra": { + "laravel": { + "providers": [ + "Artesaos\\Warehouse\\WarehouseServiceProvider" + ] + } + }, "config": { "preferred-install": "dist" },