yii-dream-team/smspilot

PHP class for working with smspilot.ru api by Yii Dream Team

1.2.0 2016-05-05 10:15 UTC

This package is auto-updated.

Last update: 2024-11-17 19:39:26 UTC


README

PHP class for working with smspilot.ru api by Yii Dream Team.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist yii-dream-team/smspilot "*"

or add

"yii-dream-team/smspilot": "*"

to the require section of your composer.json.

Usage

Authorization:

$api = new \yiidreamteam\smspilot\Api($apiId);

Sending text message:

$api->send('79112223344', 'Text message');
$api->send('79112223344', 'Text message', 'Sender', 'messageId');

Licence

MIT

Links