dev-master
9999999-devProvides a plivo gateway for NotifyMe
MIT
The Requires
- php >=5.5.9
- guzzlehttp/guzzle ~5.3
- notifymehq/notifyme ~1.0
The Development Requires
by Ben M
notifyme notifymehq plivo
Wallogit.com
2017 © Pedro Peláez
Provides a plivo gateway for NotifyMe
A Plivo gateway for NotifyMe., (*1)
Here is an example of a notification with Plivo:, (*2)
<?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';
NotifyMe is licensed under The MIT License (MIT)., (*3)
Provides a plivo gateway for NotifyMe
MIT
notifyme notifymehq plivo