I'm using Lumen instead of Laravel. And by default the facade is disabled. Now, if I just want to use this package to send a notification, do I have to enable facade? I searched in https://laravel-notification-channels.com/fcm/#usage and your doc for Facade and Lumen, didn't show up any result. But the marked code is imported from the facade namespace.
Would you consider changing it to app()? Why force developer to use facade while it can be avoided? Even the https://github.com/kreait/laravel-firebase package didn't even force to use.
I'm using Lumen instead of Laravel. And by default the facade is disabled. Now, if I just want to use this package to send a notification, do I have to enable facade? I searched in https://laravel-notification-channels.com/fcm/#usage and your doc for Facade and Lumen, didn't show up any result. But the marked code is imported from the facade namespace.
Would you consider changing it to
app()
? Why force developer to use facade while it can be avoided? Even the https://github.com/kreait/laravel-firebase package didn't even force to use.https://github.com/laravel-notification-channels/fcm/blob/8b95cd06b884529e6b14f0e32174d0470e548df1/src/FcmChannel.php#L108