PHPackages                             lijinhua/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. lijinhua/hyperf-sms

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

lijinhua/hyperf-sms
===================

适用于hyperf的短信发送

v1.0.1(2y ago)016MITPHPPHP &gt;=8.0

Since Oct 25Pushed 2y ago1 watchersCompare

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

READMEChangelogDependencies (10)Versions (3)Used By (0)

### 兼容overtrue/easy-sms协程化，hyperf用户方便使用，详细使用请参考：

[](#兼容overtrueeasy-sms协程化hyperf用户方便使用详细使用请参考httpsgithubcomovertrueeasy-sms)

#### 1.安装

[](#1安装)

```
composer require lijinhua/hyperf-sms

```

#### 2.发布配置

[](#2发布配置)

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

```

#### 3.基本调用

[](#3基本调用)

```

use Lijinhua\HyperfSms\Contract\SmsInterface;
use Hyperf\Context\ApplicationContext;

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

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Every ~0 days

Total

2

Last Release

927d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ed2589da2f1c2e3081fbdd8627483fa334cb2972d60b01da70a114d9edf527df?d=identicon)[lijinhua](/maintainers/lijinhua)

---

Top Contributors

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

---

Tags

phpsmshyperf

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[hyperf-ext/sms

The Hyperf SMS package.

254.4k](/packages/hyperf-ext-sms)

PHPackages © 2026

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