2017 © Pedro Peláez
 

library sms-gateway

sms-gateway php library

image

g4/sms-gateway

sms-gateway php library

  • Thursday, April 16, 2015
  • by g4code
  • Repository
  • 4 Watchers
  • 0 Stars
  • 2,137 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 7 % Grown

The README.md

sms-gateway

sms-gateway - php library, (*1)

Install

Via Composer, (*2)

composer require g4/sms-gateway

Usage

Send Message

require_once  'vendor/autoload.php';

// Twilio
$account_sid = '[AccountSid]';
$auth_token  = '[AuthToken]';
$driver      = new \G4\SmsGateway\Adapter\Twilio($account_sid, $auth_token);
$smsGateway  = new \G4\SmsGateway\SmsGateway($driver);

// \G4\SmsGateway\Message
$message = $smsGateway
    ->from('+00000000000')
    ->to('+00000000000')
    ->send('Hello world!');

View Message

require_once  __DIR__ . '/../../vendor/autoload.php';

// Twilio
$account_sid = 'xxx';
$auth_token = 'xxx';

$driver = new \G4\SmsGateway\Adapter\Twilio($account_sid, $auth_token);
$smsGateway = new \G4\SmsGateway\SmsGateway($driver);

// \G4\SmsGateway\Message
$message = $smsGateway->view('SMxxxxxxxxxxxxx');

Development

Install dependencies

$ make install

Run tests

$ make test

License

(The MIT License) see LICENSE file for details..., (*3)

The Versions

16/04 2015

dev-master

9999999-dev

sms-gateway php library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Drasko Gomboc
by Dejan Samardzija
by Ivan Krickovic

gateway sms twilio

16/04 2015

dev-develop

dev-develop

sms-gateway php library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Drasko Gomboc
by Dejan Samardzija
by Ivan Krickovic

gateway sms twilio

16/04 2015

1.0.0

1.0.0.0

sms-gateway php library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Drasko Gomboc
by Dejan Samardzija
by Ivan Krickovic

gateway sms twilio

07/04 2015

0.0.1

0.0.1.0

sms-gateway php library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Drasko Gomboc
by Dejan Samardzija
by Ivan Krickovic

gateway sms twilio