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

ActiveLibrary

hyperf-libraries/sms
====================

v2.0.0(5y ago)2716.1k—0%6[2 issues](https://github.com/hyperf-libraries/sms/issues)[1 PRs](https://github.com/hyperf-libraries/sms/pulls)1MITPHPPHP &gt;=7.1

Since Jan 19Pushed 3y ago1 watchersCompare

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

READMEChangelogDependencies (6)Versions (5)Used By (1)

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

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

#### 1.安装

[](#1安装)

```
composer require hyperf-libraries/sms:2.0.0

```

#### 2.发布配置

[](#2发布配置)

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

```

#### 3.基本调用

[](#3基本调用)

```

use HyperfLibraries\Sms\Contract\SmsInterface;
use Hyperf\Utils\ApplicationContext;

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

```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity55

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 ~112 days

Total

4

Last Release

1976d ago

Major Versions

v1.1.0 → v2.0.02020-12-20

PHP version history (2 changes)1.1.x-devPHP &gt;=7.2

v2.0.0PHP &gt;=7.1

### Community

Maintainers

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

---

Top Contributors

[![qingpizi](https://avatars.githubusercontent.com/u/18063007?v=4)](https://github.com/qingpizi "qingpizi (23 commits)")

---

Tags

phphyperf

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[hyperf/hyperf-skeleton

A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices and middlewares.

301187.4k](/packages/hyperf-hyperf-skeleton)

PHPackages © 2026

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