From 31d9e5eaa45e129bfbd93c77675c1156ed41def9 Mon Sep 17 00:00:00 2001 From: luiztessadri Date: Fri, 17 Nov 2017 10:35:03 -0200 Subject: [PATCH 1/2] Added Auto-Discovery feature to work with Laravel 5.5 --- composer.json | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index cd506e22c..4d51b0e0e 100644 --- a/composer.json +++ b/composer.json @@ -34,5 +34,16 @@ ] }, "minimum-stability": "dev", - "prefer-stable": true + "prefer-stable": true, + "extra": { + "laravel": { + "providers": [ + "LaravelFCM\FCMServiceProvider" + ], + "aliases": { + "FCM" : "LaravelFCM\Facades\FCM" + "FCMGroup" : "LaravelFCM\Facades\FCMGroup" + } + } + } } From 83a4472bd89bfe518674fe2941e5251dc3be1ca5 Mon Sep 17 00:00:00 2001 From: luiztessadri Date: Sun, 19 Nov 2017 08:38:45 -0200 Subject: [PATCH 2/2] Fixed missing comma and double backslash at namespaces --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 4d51b0e0e..5bf88ca84 100644 --- a/composer.json +++ b/composer.json @@ -38,11 +38,11 @@ "extra": { "laravel": { "providers": [ - "LaravelFCM\FCMServiceProvider" + "LaravelFCM\\FCMServiceProvider" ], "aliases": { - "FCM" : "LaravelFCM\Facades\FCM" - "FCMGroup" : "LaravelFCM\Facades\FCMGroup" + "FCM": "LaravelFCM\\Facades\\FCM", + "FCMGroup": "LaravelFCM\\Facades\\FCMGroup" } } }