# think-qiniu-sms
**Repository Path**: dtapps/think-qiniu-sms
## Basic Information
- **Project Name**: think-qiniu-sms
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: v6
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-06-24
- **Last Updated**: 2021-07-08
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
📦 ThinkPHP6七牛云短信扩展包
[comment]: <> (dtapps)
[](https://github.com/dtapps)
[comment]: <> (php)
[](http://www.php.net/)
[](https://pkg.go.dev/github.com/dtapps/think-qiniu-sms)
[comment]: <> (packagist.org)
[](https://packagist.org/packages/dtapps/think-qiniu-sms)
[](https://packagist.org/packages/dtapps/think-qiniu-sms)
[](https://packagist.org/packages/dtapps/think-qiniu-sms)
[](https://packagist.org/packages/dtapps/think-qiniu-sms)
[comment]: <> (github.com)
[](https://github.com/dtapps/think-qiniu-sms/watchers)
[](https://github.com/dtapps/think-qiniu-sms/stargazers)
[](https://github.com/dtapps/think-qiniu-sms/network/members)
[](https://github.com/dtapps/think-qiniu-sms/issues)
[](https://github.com/dtapps/think-qiniu-sms/branches)
[](https://github.com/dtapps/think-qiniu-sms/releases)
[](https://github.com/dtapps/think-qiniu-sms/tags)
[](https://github.com/dtapps/think-qiniu-sms/blob/v6/LICENSE)
[](https://github.com/dtapps/think-qiniu-sms/CONTRIBUTING.md)
[](https://github.com/dtapps/think-qiniu-sms/releases)
[](https://github.com/dtapps/think-qiniu-sms/tags)
[](https://github.com/dtapps/think-qiniu-sms/pulls)
[](https://github.com/dtapps/think-qiniu-sms/issues)
[](https://github.com/dtapps/think-qiniu-sms/FUNDING.yml)
[](https://github.com/dtapps/think-qiniu-sms)
[](https://github.com/dtapps/think-qiniu-sms)
[](https://github.com/dtapps/think-qiniu-sms)
[](https://github.com/dtapps/think-qiniu-sms)
[comment]: <> (scrutinizer-ci.com)
[](https://scrutinizer-ci.com/g/dtapps/think-qiniu-sms)
[](https://scrutinizer-ci.com/g/dtapps/think-qiniu-sms)
[](https://scrutinizer-ci.com/g/dtapps/think-qiniu-sms)
[comment]: <> (www.travis-ci.com)
[](https://www.travis-ci.com/github/dtapps/think-qiniu-sms)
[comment]: <> (app.codecov.io)
[](https://app.codecov.io/gh/dtapps/think-qiniu-sms)
[comment]: <> (gitlab.com)
[](https://gitlab.com/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)
### 开发版
```php
composer require dtapps/think-qiniu-sms ^6.x-dev -vvv
```
### 稳定版
```php
composer require dtapps/think-qiniu-sms ^6.0.* -vvv
```
## 更新
```php
composer update dtapps/think-qiniu-sms -vvv
```
## 删除
```php
composer remove dtapps/think-qiniu-sms -vvv
```
## 服务使用示例
```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);
```