Download the PHP package yii-dream-team/smsru without Composer
On this page you can find all versions of the php package yii-dream-team/smsru. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download yii-dream-team/smsru
More information about yii-dream-team/smsru
Files in yii-dream-team/smsru
Download yii-dream-team/smsru
More information about yii-dream-team/smsru
Files in yii-dream-team/smsru
Vendor yii-dream-team
Package smsru
Short Description PHP class for working with SMS.ru api by Yii Dream Team
License MIT
Homepage http://yiidreamteam.com/php/smsru
Package smsru
Short Description PHP class for working with SMS.ru api by Yii Dream Team
License MIT
Homepage http://yiidreamteam.com/php/smsru
Please rate this library. Is it a good library?
Informations about the package smsru
yiidreamteam\smsru\Api
PHP class for working with sms.ru api by Yii Dream Team. Improved and refactored version of the sms_ru class by Aleksandr Zelenin.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist yii-dream-team/smsru "*"
or add
"yii-dream-team/smsru": "*"
to the require
section of your composer.json.
Usage
Authorization:
$api = new \yiidreamteam\smsru\Api($apiId);
Sending text message:
$api->send('79112223344', 'Text message');
$api->send('79112223344,79115556677,79118889900', 'Text message');
$api->send('79112223344', 'Text message', 'Sender', time(), $transliteration = false, $test = true);
Sending multiple texts:
$messages = [
['79112223344', 'Text message'],
['79115556677', 'Text message #2']
];
$api->sendMultiple($messages, 'Sender', time(), $transliteration = false, $test = true);
Message status:
$api->status('SMS id');
Message cost:
$api->cost('79112223344', 'Text message');
Balance:
$api->balance();
Daily limit:
$api->limit();
Senders:
$api->senders();
Adding number to the stop list:
$api->stopListAdd('79112223344', 'Some note');
Removing number from the stop list
$api->stopListDel('79112223344');
Obtaining the stop list:
$api->stopListGet();
Licence
MIT
Links
All versions of smsru with dependencies
PHP Build Version
Package Version
The package yii-dream-team/smsru contains the following files
Loading the files please wait ....