mv/free-sms-api

Library to use api free mobile sending SMS

1.0.0 2015-07-26 13:45 UTC

This package is auto-updated.

Last update: 2024-03-29 02:52:58 UTC


README

This API is for sending notification to your Free Mobile (Require Free Mobile account with api key)

SensioLabsInsight

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...