Download the PHP package guiigaspar/laravel-zenvia-channel without Composer
On this page you can find all versions of the php package guiigaspar/laravel-zenvia-channel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download guiigaspar/laravel-zenvia-channel
More information about guiigaspar/laravel-zenvia-channel
Files in guiigaspar/laravel-zenvia-channel
Package laravel-zenvia-channel
Short Description Provides Zenvia notification channel for Laravel
License MIT
Homepage https://github.com/guiigaspar/laravel-zenvia-channel
Informations about the package laravel-zenvia-channel
Zenvia notifications channel for Laravel
This package makes it easy to send notifications using Zenvia with Laravel 7.x, 8.x, 9.x, 10.x, 11.x
Contents
- Installation
- Configuration
- Advanced Configuration
- Usage
- Available Message methods
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
You can install the package via composer:
Configuration
Add your Zenvia Account, Password, and From Name (optional) to your .env
:
Advanced Configuration
Run php artisan vendor:publish --provider="NotificationChannels\LaravelZenviaChannel\ZenviaServiceProvider"
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 phone_number
attribute of the Notifiable model. If you want to override this behaviour, add the routeNotificationForZenvia
method to your Notifiable model.
Available Message methods
ZenviaSmsMessage
id('')
: Accepts a ID to use as the notification identifier.content('')
: Accepts a string value for the notification body.schedule('')
: Accepts a string value for the notification schedule.
Changelog
Please see CHANGELOG for more information what has changed recently.
Testing
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
- Guilherme Gaspar
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-zenvia-channel with dependencies
guzzlehttp/guzzle Version ^7.0
illuminate/notifications Version ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0
illuminate/support Version ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0