fingergiant/giantsms-api
Composer 安装命令:
composer require fingergiant/giantsms-api
包简介
PHP API library for Giant SMS
README 文档
README
PHP library for making API requests to GiantSMS bulk messaging platform
Installation
To install GiantSMS PHP Library, simply:
$ composer require fingergiant/giantsms-api
Requirements
GiantSMS PHP Library works with PHP >= 5.3.
This library requires API authentication credentials in order to function. Get your credentials from GiantSMS.com
Usage
- Send a message
use BulkSMS\GiantSMS; $sms = new GiantSMS('xxxxxxxxx', 'xxxxxx'); // API username & secret var_dump($sms->send('Hello there', '+233XXXXXXXXX', 'Tester')); // message, recipient, sender
- Check balance
use BulkSMS\GiantSMS; $sms = new GiantSMS('xxxxxxxxx', 'xxxxxx'); // API username & secret var_dump($sms->balance());
Contribute
- Check for open issues or open a new issue to start a discussion around a bug or feature.
- Fork the repository on GitHub to start making your changes.
- Write one or more tests for the new feature or that expose the bug.
- Make code changes to implement the feature or fix the bug.
- Send a pull request to get your changes merged and published.
统计信息
- 总下载量: 48
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-07-10