2017 © Pedro Peláez
 

library smsphp

TextMagicSMS API PHP with PSR-0 and Composer/Packagists Library

image

textmagic/smsphp

TextMagicSMS API PHP with PSR-0 and Composer/Packagists Library

  • Thursday, April 3, 2014
  • by nezkal
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3,926 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 1 % Grown

The README.md

TextMagicSMS

This is a copy of the TextMagicSMS API for Composer Projects., (*1)

The files were modified and adapted to PSR-0 and others Design Patterns., (*2)

Install

Via Composer, (*3)

Add the Package to Composer, (*4)

composer.json, (*5)


{ "require": { "textmagic/smsphp": "dev-master" } }

php composer.phar update

Usage


use TextMagicSMS\TextMagicAPI; $api = new TextMagicAPI(array ( 'username' => 'username', 'password' => 'your_api_password' ) ); $this->setExpectedException('TextMagicSMS\Exception\AuthenticationException'); $text = 'Hello World'; $phones = array ( // Country Number + Phone Number 554299881234, // Phone1 554299881235, // Phone2 554299881236 // Phone4 ); $is_unicode = true; $this->api->send($text, $phones, $is_unicode);

The Versions

03/04 2014

dev-master

9999999-dev

TextMagicSMS API PHP with PSR-0 and Composer/Packagists Library

  Sources   Download

BSD License

The Requires

  • php >=5.3

 

php sms textmagic