yii-dream-team / smspilot
PHP class for working with smspilot.ru api by Yii Dream Team
Installs: 4 872
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 1
Open Issues: 0
Requires
- php: >=5.4.0
- guzzlehttp/guzzle: ^6.0
This package is auto-updated.
Last update: 2024-10-17 19:33:54 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