luksh123/sms-gate
Composer 安装命令:
composer require luksh123/sms-gate
包简介
PHP implementation of sms.sluzba.cz API.
README 文档
README
PHP implementation of sms.sluzba.cz API.
Installation
composer require axima/sms-gate
Usage
use Axima\SmsGate\Client;
use GuzzleHttp\Client as GuzzleClient;
$client = new Client(new GuzzleClient, 'login', 'password');
$client->sendSms(123456789, 'Hello there!');
To request confirmation, you can also provide third parameter to method sendSms, like this:
$client->sendSms(123456789, 'Hello there!', TRUE);
Setting it to FALSE disables confirmation for this SMS. Setting it to NULL will use user's default settings.
4th parameter can be used to schedule sending of SMS.
$client->sendSms(123456789, 'Hello there!', TRUE, new DateTime('+10 minutes'));
Bug reports, feature requests
Please use GitHub issue tracker / pull requests.
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-03-09