luciuz/sms-ru
Composer 安装命令:
composer require luciuz/sms-ru
包简介
Sending sms via sms.ru
关键字:
README 文档
README
Sending sms via sms.ru
Examples
Init
$smsRu = new SmsRu('API-ID-TOKEN');
Sending single sms
// with From $result = $smsRu->setFrom('MYCOMPANY') ->send(new Sms('+79123456789', 'Some text')); // without From $result = $smsRu->send(new Sms('+79123456789', 'Some text'));
Sending multiple sms
$smsBundle = [ new Sms('+79123456789', 'Some text'), new Sms('+79123456790', 'Some message'), new Sms('+79123456791', 'Some notification') ];
// with From $result = $smsRu->setFrom('MYCOMPANY') ->sendMulti($smsBundle); // without From $result = $smsRu->sendMulti($smsBundle);
统计信息
- 总下载量: 5.03k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-04-02