badcow/clickatel-php-api
Composer 安装命令:
composer require badcow/clickatel-php-api
包简介
A PHP API for sending SMS messages using the Clickatell XML API.
README 文档
README
This is an API for use with the Clickatell SMS service. It allows the sending of a single message to multiple numbers.
The script uses the Clickatell XML API, you will need to subscribe to a Clickatell account to use this API.
Example
require_once __DIR__ . '/Clickatell/Clickatell.php';
use Badcow\Clickatell\Clickatell;
$clickatell = new Clickatell('1234567', 'username', 'password');
$clickatell->authenticate()
->addNumbers(array(
'19991234567',
'19997654321',
))
->setFrom('Sam Williams')
->setMessage('Hello, this is a test message')
->sendSMS();
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2013-02-26