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
Requires
- php: >=5.4.0
- guzzlehttp/guzzle: ^6.0
This package is auto-updated.
Last update: 2026-02-17 22:24:44 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