From 35088a9123763b0e3e2365c25acf87a1b0412fa4 Mon Sep 17 00:00:00 2001 From: dieterve Date: Mon, 7 May 2018 11:48:07 +0200 Subject: [PATCH] Add support for Laravel 5.4, 5.5 and 5.6 --- README.md | 2 ++ composer.json | 13 ++++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index de79d64..f7e73c7 100755 --- a/README.md +++ b/README.md @@ -32,6 +32,8 @@ All command handlers are resolved out of the [container](http://laravel.com/docs $ composer require madewithlove/tactician-laravel ``` +### Laravel <= 5.4 + Add the service provider to `config/app.php`: ```php diff --git a/composer.json b/composer.json index 39700d9..ac42d84 100755 --- a/composer.json +++ b/composer.json @@ -13,9 +13,9 @@ ], "require": { "php": ">=5.5.9", - "illuminate/container": "^5.0|^5.1|^5.2|^5.3", - "illuminate/database": "^5.0|^5.1|^5.2|^5.3", - "illuminate/support": "^5.0|^5.1|^5.2|^5.3", + "illuminate/container": "^5.0|^5.1|^5.2|^5.3|^5.4|^5.5|^5.6", + "illuminate/database": "^5.0|^5.1|^5.2|^5.3|^5.4|^5.5|^5.6", + "illuminate/support": "^5.0|^5.1|^5.2|^5.3|^5.4|^5.5|^5.6", "league/tactician": "^1.0" }, "require-dev": { @@ -34,6 +34,13 @@ "Madewithlove\\Tactician\\": "tests" } }, + "extra": { + "laravel": { + "providers": [ + "Madewithlove\\Tactician\\ServiceProvider" + ] + } + }, "scripts": { "test": "phpunit", "lint": "php-cs-fixer fix"