Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zacksleo/phpsms
互亿无线 (http://ihuyi.com/) 短信接口, 基于phpsms
https://github.com/zacksleo/phpsms
phpsms sms-api yii2 yii2-extension
Last synced: about 1 month ago
JSON representation
互亿无线 (http://ihuyi.com/) 短信接口, 基于phpsms
- Host: GitHub
- URL: https://github.com/zacksleo/phpsms
- Owner: zacksleo
- Created: 2017-01-16T05:08:35.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-06T08:09:19.000Z (about 7 years ago)
- Last Synced: 2024-10-01T14:25:20.499Z (about 2 months ago)
- Topics: phpsms, sms-api, yii2, yii2-extension
- Language: PHP
- Homepage:
- Size: 22.5 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# phpsms
[![Latest Stable Version](https://poser.pugx.org/zacksleo/phpsms/version)](https://packagist.org/packages/zacksleo/phpsms)
[![Total Downloads](https://poser.pugx.org/zacksleo/phpsms/downloads)](https://packagist.org/packages/zacksleo/phpsms)
[![License](https://poser.pugx.org/zacksleo/phpsms/license)](https://packagist.org/packages/zacksleo/phpsms)
[![styleci](https://styleci.io/repos/98153638/shield)](https://styleci.io/repos/98153638)
[![Build Status](https://travis-ci.org/Graychen/phpsms.svg?branch=master)](https://travis-ci.org/Graychen/phpsms)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Graychen/phpsms/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/Graychen/phpsms/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/Graychen/phpsms/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/Graychen/phpsms/?branch=master)
[![Build Status](https://scrutinizer-ci.com/g/Graychen/phpsms/badges/build.png?b=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);
```