benmag / notifyme-plivo
Provides a plivo gateway for NotifyMe
Installs: 24
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/benmag/notifyme-plivo
Requires
- php: >=5.5.9
- guzzlehttp/guzzle: ~5.3
- notifymehq/notifyme: ~1.0
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is auto-updated.
Last update: 2025-09-29 01:43:09 UTC
README
A Plivo gateway for NotifyMe.
Example
Here is an example of a notification with Plivo:
<?php // Create a factory for notifications $notifierFactory = new NotifyMeHQ\NotifyMe\NotifyMeFactory(); // Create the new notification for plivo $plivoNotifier = $notifierFactory->make([ // Specify that we will use slack 'driver' => 'plivo', // Who send this message 'from' => 'Plivo', // Add auth tokens 'auth_id' => 'XXXXX', 'auth_token' => 'XXXXXXXXXXXXX', ]); /* @var \NotifyMeHQ\Contracts\ResponseInterface $response */ $response = $plivoNotifier->notify('1111111111', 'Hi, text from Plivo'); echo $response->isSent() ? 'Message sent' : 'Message going nowhere';
License
NotifyMe is licensed under The MIT License (MIT).