From f78a0aca3c1c4a9c4d5792f031d24d03bc1608e9 Mon Sep 17 00:00:00 2001 From: JackieDo Date: Tue, 7 Apr 2020 11:32:16 +0700 Subject: [PATCH 1/2] Add support Package Discovery - Add Package Discovery feature for Laravel 5.5+ --- composer.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/composer.json b/composer.json index 159a31f..ad503dc 100644 --- a/composer.json +++ b/composer.json @@ -23,5 +23,15 @@ "Jackiedo\\LogReader\\": "src/Jackiedo/LogReader" } }, + "extra": { + "laravel": { + "providers": [ + "Jackiedo\\LogReader\\LogReaderServiceProvider" + ], + "aliases": { + "LogReader": "Jackiedo\\LogReader\\Facades\\LogReader" + } + } + }, "minimum-stability": "stable" } From d74a74233fa337f153b1ad8edd76c621db47e09d Mon Sep 17 00:00:00 2001 From: JackieDo Date: Tue, 7 Apr 2020 11:45:22 +0700 Subject: [PATCH 2/2] Add compatibility with Carbon 2 - Add compatibility to Carbon version 2 is required from Laravel 5.8 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index ad503dc..b80c742 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "illuminate/http": "5.*", "illuminate/pagination": "5.*", "illuminate/support": "5.*", - "nesbot/carbon": "~1.20" + "nesbot/carbon": "~1.20 || ^2.0" }, "autoload": { "psr-4": {