otezz/jatis-sms
Composer 安装命令:
composer require otezz/jatis-sms
包简介
Jatis SMS gateway API wrapper
README 文档
README
Jatis SMS gateway API wrapper
Installation
Simply run composer require otezz/jatis-sms
Usage
Send SMS
$jatis = new \Otezz\Jatis\Sms($jatisUsername, $jatisPassword);
$response = $jatis->send([
'destination' => $destinationNumber,
'message' => $message,
'sender' => $registeredSenderOnJatis,
'division' => $registeredDivisionOnJatis,
'batchname' => $batchName,
'pic' => $personInCharge,
]);
$response will return an array with following structure
code => Status code from Jatis
message => Response message from Jatis
messageId => Message ID from (Alphanumeric format and only exist if status code is 1)
统计信息
- 总下载量: 36
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-04-15