PHPackages                             ella123/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. [Mail &amp; Notifications](/categories/mail)
4. /
5. ella123/hyperf-sms

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

ella123/hyperf-sms
==================

3.1.8(1y ago)053MITPHPPHP &gt;=8.1

Since Aug 15Pushed 1y ago1 watchersCompare

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

READMEChangelog (3)Dependencies (15)Versions (4)Used By (0)

短信扩展 hyperf-sms
===============

[](#短信扩展-hyperf-sms)

```
composer require ella123/hyperf-sms
```

发布配置
====

[](#发布配置)

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

使用案例
====

[](#使用案例)

```
# 同步发送
\Ella123\HyperfSms\Sms::to()->sendNow(smsable: new DomeSms())
# 同步发送（或队列）
\Ella123\HyperfSms\Sms::to()->send(smsable: new DomeSms())
# 队列发送
\Ella123\HyperfSms\Sms::to()->queue(smsable: new DomeSms(),queue: 'default')
# 队列延迟发送
\Ella123\HyperfSms\Sms::to()->later(smsable: new DomeSms(),delay: 3,queue: 'default')
```

配置介绍
====

[](#配置介绍)

```
// 阿里短信渠道
'aliyun' => [
    'driver' => AliyunDriver::class,
    'config' => [
        'access_key_id' => env('SMS_ALIYUN_ACCESS_KEY_ID'),
        'access_key_secret' => env('SMS_ALIYUN_ACCESS_KEY_SECRET'),
        'sign_name' => env('SMS_ALIYUN_SIGN_NAME'),
    ],
],
// 系统日志
'log' => [
    'driver' => LogDriver::class,
    'config' => [
        'name' => env('SMS_LOG_NAME', 'sms'),
        'group' => env('SMS_LOG_GROUP', 'default'),
    ],
],
// 颂量短信渠道
'itniotech' => [
    'driver' => ItniotechDriver::class,
    'config' => [
        'app_key' => env('SMS_ITNIOTECH_APP_KEY'),
        'secret_key' => env('SMS_ITNIOTECH_SECRET_KEY'),
        'app_id' => env('SMS_ITNIOTECH_APP_ID'),
    ],
],
// 牛信短信渠道
'nxcloud' => [
    'driver' => NXCloudDriver::class,
    'config' => [
        'app_key' => env('SMS_NXCLOUD_APP_KEY'),
        'secret_key' => env('SMS_NXCLOUD_SECRET_KEY'),
    ],
],
// 啪嗖短信渠道
'paasoo' => [
    'driver' => PaaSooDriver::class,
    'config' => [
        'app_key' => env('SMS_PAASOO_APP_KEY'),
        'secret_key' => env('SMS_PAASOO_SECRET_KEY'),
    ],
],
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance40

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Total

3

Last Release

550d ago

Major Versions

2.2.11 → 3.1.82024-08-15

PHP version history (2 changes)2.2.11PHP &gt;=8.0

3.1.8PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/4a621d9d09087893e4f566f3101143490a234cd75234d3a34f7c8069c280f370?d=identicon)[WenKaiYang](/maintainers/WenKaiYang)

---

Top Contributors

[![WenKaiYang](https://avatars.githubusercontent.com/u/25893287?v=4)](https://github.com/WenKaiYang "WenKaiYang (37 commits)")

---

Tags

phphyperf

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[hyperf-ext/mail

The Hyperf Mail package.

1851.0k1](/packages/hyperf-ext-mail)[hyperf/swow-skeleton

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

514.5k](/packages/hyperf-swow-skeleton)

PHPackages © 2026

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