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

ActiveLibrary

pompx/hyperf-sms
================

v1.0.2(3y ago)012MITPHPPHP &gt;=7.1

Since Apr 1Pushed 3y ago1 watchersCompare

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

READMEChangelogDependencies (6)Versions (4)Used By (0)

### 兼容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

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

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

3

Last Release

1142d ago

### Community

Maintainers

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

---

Tags

phphyperf

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/pompx-hyperf-sms/health.svg)](https://phpackages.com/packages/pompx-hyperf-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)[hyperf-libraries/sms

2716.1k1](/packages/hyperf-libraries-sms)

PHPackages © 2026

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