Make command for notification channel #41679
-
Hello Laravel Community As a fairly new Laravel developer, i was using Laravel Notifications for the first time and wanted to use a custom channel. While reading related section in the doc, I instinctively ran This is probably not a major issue, but what would you think about adding an artisan:make command to create a Channel class for Notifications ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Notification channels are developed by the community as packages, it's not a daily deal - most of the channels have their custom logic inside, and making one single stub makes no sense. Finally, you will "invent" the interface with https://laravel-notification-channels.com/ |
Beta Was this translation helpful? Give feedback.
Notification channels are developed by the community as packages, it's not a daily deal - most of the channels have their custom logic inside, and making one single stub makes no sense. Finally, you will "invent" the interface with
send()
method. Btw, it's weird all notification channels are not using a contract.https://laravel-notification-channels.com/
https://github.com/laravel-notification-channels/channels