PHPackages                             hzx/hyperf-sms - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. hzx/hyperf-sms

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

hzx/hyperf-sms
==============

Hyperf 短信发送组件

v1.0.0(4y ago)15MITPHPPHP &gt;=7.3

Since Feb 14Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Wonghzx/hyperf-sms)[ Packagist](https://packagist.org/packages/hzx/hyperf-sms)[ RSS](/packages/hzx-hyperf-sms/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (2)Used By (0)

1、安装
----

[](#1安装)

```
composer require hzx/hyperf-sms

```

### 2、发布配置

[](#2发布配置)

```
php bin/hyperf.php vendor:publish hzx/hyperf-sms
```

### 3.基本调用

[](#3基本调用)

```
use Hzx\HyperfSms\Contract\SmsInterface;
use Hyperf\Utils\ApplicationContext;

$easySms = ApplicationContext::getContainer()->get(SmsInterface::class);
$result = $easySms->send(18888888888, [
        'content'  => '登录验证码{1}，请于5分钟内填写',
        'template' => '1111',
        'data' => [
        'code' => 1234
    ],
]);
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

1554d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/224e66388040572e53ad416f22694ad05bef4d9bba25a3126814ec4b9c7c5d7b?d=identicon)[Wonghzx](/maintainers/Wonghzx)

---

Top Contributors

[![Wonghzx](https://avatars.githubusercontent.com/u/23250999?v=4)](https://github.com/Wonghzx "Wonghzx (2 commits)")

---

Tags

phphyperf

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/hzx-hyperf-sms/health.svg)

```
[![Health](https://phpackages.com/badges/hzx-hyperf-sms/health.svg)](https://phpackages.com/packages/hzx-hyperf-sms)
```

PHPackages © 2026

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