bespoke-support / sms-voodoo
通过VoodooSMS.com发送短信
v1.0
2016-07-16 21:49 UTC
Requires
Suggests
- ext-curl: *
- ext-json: *
This package is auto-updated.
Last update: 2024-09-21 01:14:48 UTC
README
兼容版本 2.8(2015年12月)
- 多个收件人
- 默认国家
可用的API调用
- getCredit
- getSMS
- getDlr
- getDlrStatus
- sendSms
安装
composer require bespoke-support/sms-voodoo
使用
$response = VoodooSmsClient::call('sendSms', $user, $pass, 'Sender', '07998877666', 'Test Message'); $client = VoodooSmsClient::getInstance($user, $pass); $response = $client->sendSms($from, $to, $message); $to: * array * object (with __toString) * string * int * comma separated string $from: * Number * Text (upto 11 characters)
$response = VoodooSmsClient::call('getSms', $user, $pass, '2016-01-01', '2016-07-31');
许可证
MIT