https://github.com/zacksleo/phpsms
互亿无线 (http://ihuyi.com/) 短信接口, 基于phpsms
https://github.com/zacksleo/phpsms
phpsms sms-api yii2 yii2-extension
Last synced: about 1 year ago
JSON representation
互亿无线 (http://ihuyi.com/) 短信接口, 基于phpsms
- Host: GitHub
- URL: https://github.com/zacksleo/phpsms
- Owner: zacksleo
- Created: 2017-01-16T05:08:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-11-06T08:09:19.000Z (over 8 years ago)
- Last Synced: 2025-04-12T22:55:22.358Z (about 1 year ago)
- Topics: phpsms, sms-api, yii2, yii2-extension
- Language: PHP
- Homepage:
- Size: 22.5 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# phpsms
[](https://packagist.org/packages/zacksleo/phpsms)
[](https://packagist.org/packages/zacksleo/phpsms)
[](https://packagist.org/packages/zacksleo/phpsms)
[](https://styleci.io/repos/98153638)
[](https://travis-ci.org/Graychen/phpsms)
[](https://scrutinizer-ci.com/g/Graychen/phpsms/?branch=master)
[](https://scrutinizer-ci.com/g/Graychen/phpsms/?branch=master)
[](https://scrutinizer-ci.com/g/Graychen/phpsms/build-status/master)
互亿无线短信接口, 基于phpsms
## 详细文档见 [PhpSms文档](https://github.com/toplan/phpsms/blob/master/README.md)
## 用法示例
```
Sms::scheme('Ihuyi', [
'100 backup',
'agentClass' => 'zacksleo\PhpSms\IhuyiAgent'
]);
Sms::config([
'Ihuyi' => [
'apiKey' => 'apikey',
'secretKey' => 'secretkey'
]
]);
$res = Sms::make()->to('手机号码')->content('短信内容')->send(false);
```