📦 ThinkPHP6七牛云短信扩展包
[comment]: <> (dtapps)
[![GitHub Org's stars](https://img.shields.io/github/stars/dtapps)](https://github.com/dtapps)
[comment]: <> (php)
[![PHP Version](https://img.shields.io/badge/php-%3E%3D7.1-8892BF.svg)](http://www.php.net/)
[![godoc](https://pkg.go.dev/badge/github.com/dtapps/think-qiniu-sms?status.svg)](https://pkg.go.dev/github.com/dtapps/think-qiniu-sms)
[comment]: <> (packagist.org)
[![License](https://poser.pugx.org/dtapps/think-qiniu-sms/license)](https://packagist.org/packages/dtapps/think-qiniu-sms)
[![Latest Stable Version](https://poser.pugx.org/dtapps/think-qiniu-sms/v/stable)](https://packagist.org/packages/dtapps/think-qiniu-sms)
[![Latest Unstable Version](https://poser.pugx.org/dtapps/think-qiniu-sms/v/unstable)](https://packagist.org/packages/dtapps/think-qiniu-sms)
[![Total Downloads](https://poser.pugx.org/dtapps/think-qiniu-sms/downloads)](https://packagist.org/packages/dtapps/think-qiniu-sms)
[comment]: <> (github.com)
[![watchers](https://badgen.net/github/watchers/dtapps/think-qiniu-sms)](https://github.com/dtapps/think-qiniu-sms/watchers)
[![stars](https://badgen.net/github/stars/dtapps/think-qiniu-sms)](https://github.com/dtapps/think-qiniu-sms/stargazers)
[![forks](https://badgen.net/github/forks/dtapps/think-qiniu-sms)](https://github.com/dtapps/think-qiniu-sms/network/members)
[![issues](https://badgen.net/github/issues/dtapps/think-qiniu-sms)](https://github.com/dtapps/think-qiniu-sms/issues)
[![branches](https://badgen.net/github/branches/dtapps/think-qiniu-sms)](https://github.com/dtapps/think-qiniu-sms/branches)
[![releases](https://badgen.net/github/releases/dtapps/think-qiniu-sms)](https://github.com/dtapps/think-qiniu-sms/releases)
[![tags](https://badgen.net/github/tags/dtapps/think-qiniu-sms)](https://github.com/dtapps/think-qiniu-sms/tags)
[![license](https://badgen.net/github/license/dtapps/think-qiniu-sms)](https://github.com/dtapps/think-qiniu-sms/blob/v6/LICENSE)
[![contributors](https://badgen.net/github/contributors/dtapps/think-qiniu-sms)](https://github.com/dtapps/think-qiniu-sms/CONTRIBUTING.md)
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/dtapps/think-qiniu-sms)](https://github.com/dtapps/think-qiniu-sms/releases)
[![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/dtapps/think-qiniu-sms)](https://github.com/dtapps/think-qiniu-sms/tags)
[![GitHub pull requests](https://img.shields.io/github/issues-pr/dtapps/think-qiniu-sms)](https://github.com/dtapps/think-qiniu-sms/pulls)
[![GitHub issues](https://img.shields.io/github/issues/dtapps/think-qiniu-sms)](https://github.com/dtapps/think-qiniu-sms/issues)
[![GitHub Sponsors](https://img.shields.io/github/sponsors/dtapps)](https://github.com/dtapps/think-qiniu-sms/FUNDING.yml)
[![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/dtapps/think-qiniu-sms)](https://github.com/dtapps/think-qiniu-sms)
[![GitHub language count](https://img.shields.io/github/languages/count/dtapps/think-qiniu-sms)](https://github.com/dtapps/think-qiniu-sms)
[![GitHub search hit counter](https://img.shields.io/github/search/dtapps/think-qiniu-sms/php)](https://github.com/dtapps/think-qiniu-sms)
[![GitHub top language](https://img.shields.io/github/languages/top/dtapps/think-qiniu-sms)](https://github.com/dtapps/think-qiniu-sms)
[comment]: <> (scrutinizer-ci.com)
[![Scrutinizer build (GitHub/Bitbucket)](https://img.shields.io/scrutinizer/build/g/dtapps/think-qiniu-sms/v6)](https://scrutinizer-ci.com/g/dtapps/think-qiniu-sms)
[![Scrutinizer coverage (GitHub/BitBucket)](https://img.shields.io/scrutinizer/coverage/g/dtapps/think-qiniu-sms/v6)](https://scrutinizer-ci.com/g/dtapps/think-qiniu-sms)
[![Scrutinizer code quality (GitHub/Bitbucket)](https://img.shields.io/scrutinizer/quality/g/dtapps/think-qiniu-sms/v6)](https://scrutinizer-ci.com/g/dtapps/think-qiniu-sms)
[comment]: <> (www.travis-ci.com)
[![Travis (.com) branch](https://img.shields.io/travis/com/dtapps/think-qiniu-sms/v6)](https://www.travis-ci.com/github/dtapps/think-qiniu-sms)
[comment]: <> (app.codecov.io)
[![Codecov branch](https://img.shields.io/codecov/c/github/dtapps/think-qiniu-sms/v6)](https://app.codecov.io/gh/dtapps/think-qiniu-sms)
[comment]: <> (gitlab.com)
[![gitlab (.com)](https://gitlab.com/dtapps/think-qiniu-sms/badges/v6/pipeline.svg)](https://gitlab.com/dtapps/think-qiniu-sms)
[comment]: <> (codechina.csdn.net)
[![codechina.csdn (.net)](https://codechina.csdn.net/dtapps/think-qiniu-sms/badges/v6/pipeline.svg)](https://codechina.csdn.net/dtapps/think-qiniu-sms)
## 依赖环境
1. PHP7.1 版本及以上
## 托管
- 国外仓库地址:[https://github.com/dtapps/think-qiniu-sms](https://github.com/dtapps/think-qiniu-sms)
- 国内仓库地址:[https://gitee.com/dtapps/think-qiniu-sms](https://gitee.com/dtapps/think-qiniu-sms)
- Packagist
地址:[https://packagist.org/packages/dtapps/think-qiniu-sms](https://packagist.org/packages/dtapps/think-qiniu-sms)
### 开发版
```text
composer require dtapps/think-qiniu-sms ^6.x-dev -vvv
```
### 稳定版
```text
composer require dtapps/think-qiniu-sms ^6.0.* -vvv
```
## 更新
```text
composer update dtapps/think-qiniu-sms -vvv
```
## 删除
```text
composer remove dtapps/think-qiniu-sms -vvv
```
## 获取电脑Mac地址服务使用示例
```php
use dtapps\qiniu\sms\SmsService;
list($ret, $err) = SmsService::instance()
->setParam([
"template_id" => "",
"mobiles" => [""],
"parameters" => [
"code" => ""
],
])
->accessKey("")
->secretKey("")
->toArray();
var_dump($ret);
var_dump($err);
```