library free-sms-api
Library to use api free mobile sending SMS
mv/free-sms-api
Library to use api free mobile sending SMS
- Tuesday, September 27, 2016
- by phpmike
- Repository
- 1 Watchers
- 0 Stars
- 54 Installations
- PHP
- 1 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
MvFreeSmsApi
This API is for sending notification to your Free Mobile (Require Free Mobile account with api key), (*1)
, (*2)
Install
composer.phar require mv/free-sms-api
Examples
use Mv\FreeSmsApi\Sms\Sender;
$sender = new Sender('Your Free user id', 'Your Free user api key');
$sender->addMessage('This library is great to send SMS to my account!');
$sender->send(); // Send all messages that are not already sent!
Be carreful, this throw "Mv\FreeSmsApi\Exception\FailedException" when something went wrong., (*3)
See also bundle for Symfony2, (*4)
Enjoy it!, (*5)
To be continued..., (*6)