mv / free-sms-api
Library to use api free mobile sending SMS
1.0.0
2015-07-26 13:45 UTC
Requires
- php-curl-class/php-curl-class: ~3.5.0
This package is auto-updated.
Last update: 2025-01-29 05:01:11 UTC
README
This API is for sending notification to your Free Mobile (Require Free Mobile account with api key)
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.
See also bundle for Symfony2
Enjoy it!
To be continued...