ratatxt/php-sms
Composer 安装命令:
composer require ratatxt/php-sms
包简介
SMS Library for PHP. Simple SMS API that uses your regular simcard load
README 文档
README
You can sign up for a Ratatxt account at http://ratatxt.com.
Composer
You can install the bindings via Composer. Run the following command:
composer require ratatxt/php-sms
To use the bindings, use Composer's autoload:
require_once('vendor/autoload.php');
Manual Installation
If you do not wish to use Composer, you can download the latest release. Then, to use the bindings, include the init.php file.
require_once('/path/to/ratatxt-php-sms/init.php');
Getting Started
Simple usage looks like:
Ratatxt\Sms::setToken('sampleToken'); $send = Ratatxt\Sms::send(array( 'origin' => '09751303274', 'address' => '09XXXXXXXXX', 'text' => 'hello from ratatxt' )); print_r($send);
Check examples here.
Documentation
Please see http://ratatxt.com/docs for up-to-date documentation.
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-03-16