Php sms mailer based on textbelt https://github.com/typpo/textbelt
PHP
Latest commit cb2c5c6 Sep 25, 2014 @securingsincity comment and indent
Permalink
Failed to load latest commit information.
src/PHPSMS comment and indent Sep 25, 2014
.gitignore gitignore Jun 1, 2014
LICENSE Initial commit May 31, 2014
README.md readme Jun 4, 2014
composer.json updated composer.json Jun 4, 2014
index.php from and region support in readme Jun 4, 2014

README.md

PHPSMS

PHP SMS mailer based on textbelt https://github.com/typpo/textbelt

Requires Composer

Example usage:

require 'vendor/autoload.php';

//number to text
$number = '##########';

//message to be sent
$message = 'YO! james what up';

$phpsms = new PHPSMS\PHPSMS($number,$message);

//with a different From
$from = 'myemail@test.com'
$phpsms = new PHPSMS\PHPSMS($number,$message,$from);

//not sending to the us - note totally untested
$region = 'canada';
$phpsms = new PHPSMS\PHPSMS($number,$message,$from,$region);