PHPackages                             sofire/qsms - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. sofire/qsms

ActiveLibrary[API Development](/categories/api)

sofire/qsms
===========

腾讯云Qcloud短信服务第三方SDK

v1.1.0(9y ago)014MITPHPPHP &gt;=5.1

Since Oct 10Pushed 9y ago1 watchersCompare

[ Source](https://github.com/sofire/qsms)[ Packagist](https://packagist.org/packages/sofire/qsms)[ Docs](https://github.com/sofire/qsms)[ RSS](/packages/sofire-qsms/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (6)Used By (0)

Update
======

[](#update)

2017年01月02日： 参考 根据腾讯云 v5版本 的API做的修改 添加群发接口

简述
==

[](#简述)

腾讯云Qcloud短信服务第三方SDK

用法
==

[](#用法)

```
use Wenpeng\Qsms\Client;
$client = new Client($appID, $appKey);

```

单发短信
----

[](#单发短信)

```
use Wenpeng\Qsms\Request\Single;
$sms = new Signle($client, 0);

```

### 单发普通短信

[](#单发普通短信)

```
use Wenpeng\Qsms\Request\Single;
$sms = new Signle($client, 0);
$sms->target('18800001111', '86');
$response = $sms->normal('这是测试短信内容');

```

```
{
    "result": "0", //0表示成功(计费依据)，非0表示失败
    "errmsg": "", //result非0时的具体错误信息
    "ext": "some msg", //用户的session内容，腾讯server回包中会原样返回
    "sid": "xxxxxxx", //标识本次发送id
    "fee": 1 //短信计费的条数
}

```

### 单发模板短信

[](#单发模板短信)

```
$sms->target('18800001111', '86');
// 短信正文模板编号 1000, 短信正文参数 ['123456', 30]
$response = $sms->template(1000, ['123456', 30]);

```

```
{
    "result": "0", //0表示成功(计费依据)，非0表示失败
    "errmsg": "", //result非0时的具体错误信息
    "ext": "some msg", //用户的session内容，腾讯server回包中会原样返回
    "sid": "xxxxxxx", //标识本次发送id
    "fee": 1 //短信计费的条数
}

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 90% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~21 days

Total

5

Last Release

3466d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1177330?v=4)[sofire](/maintainers/sofire)[@sofire](https://github.com/sofire)

---

Top Contributors

[![wenpeng](https://avatars.githubusercontent.com/u/11190229?v=4)](https://github.com/wenpeng "wenpeng (9 commits)")[![sofire](https://avatars.githubusercontent.com/u/1177330?v=4)](https://github.com/sofire "sofire (1 commits)")

---

Tags

Qcloud SMS SDK

### Embed Badge

![Health badge](/badges/sofire-qsms/health.svg)

```
[![Health](https://phpackages.com/badges/sofire-qsms/health.svg)](https://phpackages.com/packages/sofire-qsms)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
