Download the PHP package diviky/laravel-notification-channel-botman without Composer
On this page you can find all versions of the php package diviky/laravel-notification-channel-botman. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download diviky/laravel-notification-channel-botman
More information about diviky/laravel-notification-channel-botman
Files in diviky/laravel-notification-channel-botman
Package laravel-notification-channel-botman
Short Description Use botman as laravel notification service
License MIT
Homepage https://github.com/diviky/laravel-notification-channel-botman
Informations about the package laravel-notification-channel-botman
Notifications channel for Laravel 5.3+
Contents
- Installation
- Setting up your account
- Usage
- Available Message methods
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
You can install the package via composer:
Setting up your account
Add your configuration to your config/services.php
:
Usage
Now you can use the channel in your via()
method inside the notification:
In order to let your Notification know which phone are you sending to, the channel will look for the phone_number
attribute and mobile
of the Notifiable model. If you want to override this behaviour, add the routeNotificationForMessengerPeople
method to your Notifiable model.
Available Message methods
from('')
: Accepts a phone to use as the notification sender.text('')
: Accepts a string value for the notification body.to('')
: Accepts a string value for the notification to (over writes default).
Contributing
Please see CONTRIBUTING for details.
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-notification-channel-botman with dependencies
illuminate/support Version ^5|^6|^7|^8
illuminate/events Version ^5|^6|^7|^8