Download the PHP package mateusjatenee/laravel-notifications-plivo without Composer
On this page you can find all versions of the php package mateusjatenee/laravel-notifications-plivo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mateusjatenee/laravel-notifications-plivo
More information about mateusjatenee/laravel-notifications-plivo
Files in mateusjatenee/laravel-notifications-plivo
Package laravel-notifications-plivo
Short Description Plivo SMS notifications driver for Laravel
License MIT
Homepage https://github.com/mateusjatenee/laravel-notifications-plivo
Informations about the package laravel-notifications-plivo
Plivo notifications channel for Laravel 5.6
This is a fork of laravel-notification-channels/plivo with added support to 5.6
This package makes it easy to send SMS notifications using Plivo with Laravel 5.6.
Contents
- Installation
- Setting up the Plivo service
- Usage
- Available Message methods
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
You can install this package via composer:
composer require mateusjatenee/laravel-notifications-plivo
Add the service provider to config/app.php
:
Setting up your Plivo service
Log in to your Plivo dashboard and grab your Auth Id, Auth Token and the phone number you're sending from. Add them to config/services.php
.
Usage
Follow Laravel's documentation to add the channel your Notification class:
Add a routeNotificationForPlivo
method to your Notifiable model to return the phone number:
Available methods
content()
- (string) SMS notification bodyfrom()
- (integer) Override default from numberwebhook()
- (string) Override the webhook in the config file
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
- Sid K
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-notifications-plivo with dependencies
illuminate/notifications Version ~5.5 || ~6.0
illuminate/support Version ~5.5 || ~6.0
illuminate/events Version ~5.5 || ~6.0
illuminate/queue Version ~5.5 || ~6.0
plivo/plivo-php Version ^1.1