Download the PHP package codemonkey76/plivo-notification-channel without Composer
On this page you can find all versions of the php package codemonkey76/plivo-notification-channel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download codemonkey76/plivo-notification-channel
More information about codemonkey76/plivo-notification-channel
Files in codemonkey76/plivo-notification-channel
Package plivo-notification-channel
Short Description Plivo SMS notifications driver for Laravel
License MIT
Homepage https://github.com/codemonkey76/plivo-notification-channel
Informations about the package plivo-notification-channel
Plivo notifications channel for Laravel
This package makes it easy to send SMS notifications using Plivo with Laravel 8.x.
This package is a copy of laravel-notification-channel/plivo as that package is currently broken for Laravel 8 and current version of plivo/plivo-php
Contents
- Installation
- Setting up the Plivo service
- Usage
- Available Message methods
- Credits
- License
Installation
Install the package via composer:
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 number
Credits
- Sid K
- All Contributors
License
The MIT License (MIT). Please see License File for more information.