2017 © Pedro Peláez
 

library monolog-plivo

A Monolog Handler for Plivo, a SMS messaging service.

image

tylercd100/monolog-plivo

A Monolog Handler for Plivo, a SMS messaging service.

  • Sunday, March 27, 2016
  • by tylercd100
  • Repository
  • 1 Watchers
  • 1 Stars
  • 24 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

SMS Monolog Handler

Latest Version Software License Build Status Scrutinizer Code Quality Code Coverage Dependency Status Total Downloads, (*1)

A Monolog Handler for SMS messaging services, (*2)

Currently supported - Twilio - Clickatell - Plivo, (*3)

Installation

Install via composer - In the terminal:, (*4)

composer require tylercd100/monolog-sms

Usage

For Plivo:, (*5)

use Tylercd100\Monolog\Handler\PlivoHandler;

$handler = new PlivoHandler($token,$auth_id,$fromPhoneNumber,$toPhoneNumber);
$logger  = new Monolog\Logger('channel.name');
$logger->pushHandler($handler);
$logger->addCritical("Foo Bar!");

For Twilio:, (*6)

use Tylercd100\Monolog\Handler\TwilioHandler;

$handler = new TwilioHandler($secret,$sid,$fromPhoneNumber,$toPhoneNumber);
$logger  = new Monolog\Logger('channel.name');
$logger->pushHandler($handler);
$logger->addCritical("Foo Bar!");

For Clickatell:, (*7)

use Tylercd100\Monolog\Handler\ClickatellHandler;

$handler = new ClickatellHandler($authToken,$fromPhoneNumber (/*Optional*/),$toPhoneNumber (/*String|Array*/));
$logger  = new Monolog\Logger('channel.name');
$logger->pushHandler($handler);
$logger->addCritical("Foo Bar!");

The Versions

27/03 2016

dev-master

9999999-dev https://github.com/tylercd100/monolog-plivo

A Monolog Handler for Plivo, a SMS messaging service.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tyler Arbon

composer monolog handler plivo tylercd100

27/03 2016

1.0.0

1.0.0.0 https://github.com/tylercd100/monolog-plivo

A Monolog Handler for Plivo, a SMS messaging service.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tyler Arbon

composer monolog handler plivo tylercd100