2017 © Pedro Peláez
 

library smsadapter

PHP5 library that provides a sms abstraction layer

image

aminembarki/smsadapter

PHP5 library that provides a sms abstraction layer

  • Thursday, March 26, 2015
  • by aminembarki
  • Repository
  • 0 Watchers
  • 1 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

SmsAdapter

SmsAdapter is a PHP5 library that provides a Sms providers abstraction layer., (*1)

Why use SmsAdapter?

Imagine you have to send a lot of sms to multiple destination in a PHP project. Lets see how to take this situation in your advantage using SmsAdapter., (*2)

The sms abstraction layer permits you to develop your application without the need to adapt your code for every sms destination & provide., (*3)

Another advantage of this is the possibility to update the provider api without any impact on the code . In example, if your project grows up very fast and if your sms provider reaches its limits, you can easily move to any other provider., (*4)

Try it!

Installation

Development version:, (*5)

php composer.phar require aminembarki/smsadapter:dev-master

Setup your Smsadapter

Following an example with the sms adapter. To setup other adapters, look up the Adapters folder, (*6)

<?php

use Smsadapter\Sms;
use Smsadapter\Adapter\Twilio As TwilioAdapter ;

$sms = new Sms();
$sms->setSmsAdapter(new TwilioAdapter());
$sms->authenticate(array('api_key'=>'xxxxxxxxxxx','api_secret'=>'xxxxxxxxxxx'));
$sms->sendMessage('xxxxxxxxxxx','xxxxxxxxxxx',"message sent from sms adapter Twilio Provider ");

The Versions

26/03 2015

dev-master

9999999-dev http://ambnetwork.net

PHP5 library that provides a sms abstraction layer

  Sources   Download

MIT

The Requires

 

by Amine MBARKI

sms media abstraction sms provider

13/02 2015

0.1.1

0.1.1.0 http://ambnetwork.net

PHP5 library that provides a sms abstraction layer

  Sources   Download

MIT

The Requires

 

by Amine MBARKI

sms media abstraction sms provider

13/02 2015

0.1.0

0.1.0.0 http://ambnetwork.net

PHP5 library that provides a sms abstraction layer

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

by Amine MBARKI

sms media abstraction sms provider

12/02 2015

dev-TwilioAdapter

dev-TwilioAdapter http://ambnetwork.net

PHP5 library that provides a sms abstraction layer

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

by Amine MBARKI

sms media abstraction sms provider