Download the PHP package grupodkt/notification-channel-waba without Composer
On this page you can find all versions of the php package grupodkt/notification-channel-waba. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download grupodkt/notification-channel-waba
More information about grupodkt/notification-channel-waba
Files in grupodkt/notification-channel-waba
Package notification-channel-waba
Short Description Notification channel WABA.
License MIT
Homepage https://github.com/grupodkt/laravel-notification-channel-waba
Informations about the package notification-channel-waba
Waba notifications channel for Laravel 5.4+
This package makes it easy to send [Waba notifications] with Laravel 5.4.
Installation
Package Version | Laravel Version | Guzzle Version |
---|---|---|
5.x | 5 | 6 |
5.x | 6 | 7 |
5.x | 7,8,9 | 6, 7 |
Contents
- Usage
- Available Message methods
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
You can install the package via composer:
You must install the service provider:
Setting up your Waba account
Add your Waba Account SID, Auth Token, and phoneNumberId 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/calling to, the channel will look for the celular
attribute of the Notifiable model. If you want to override this behaviour, add the routeNotificationForWaba
method to your Notifiable model.
Available Message methods
WabaSmsMessage
from('')
: Accepts a phone to use as the notification sender.content('')
: Accepts a string value for the notification body.
Changelog
Please see CHANGELOG for more information what has changed recently.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of notification-channel-waba with dependencies
illuminate/notifications Version ^7|^8|^9
illuminate/support Version ^7|^8|^9
illuminate/events Version ^7|^8|^9
illuminate/queue Version ^7|^8|^9
guzzlehttp/guzzle Version ^6|^7