PHPackages                             wmud/hyperf-lib - 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. wmud/hyperf-lib

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

wmud/hyperf-lib
===============

hyperf3.1 components.

1.4.3(10mo ago)147MITPHPPHP &gt;=8.1

Since Oct 28Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/wmdong/hyperf-lib)[ Packagist](https://packagist.org/packages/wmud/hyperf-lib)[ RSS](/packages/wmud-hyperf-lib/feed)WikiDiscussions master Synced yesterday

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

安全验证
----

[](#安全验证)

- ### 在config.php文件中添加如下配置

    [](#在configphp文件中添加如下配置)

    ```
    [
      'safety' => [
          'cipher' => false, // 是否开启数据加密
          'sign' => false, // 是否开启签名验证
          'timeout' => 10, // 签名有效时间
          'access_key' => '', // AES密钥
          'public_key' => '', // RSA加密公钥
          'private_key' => '', // RSA解密私钥
      ]
    ]
    ```
- ### 开启加密后请求和响应内容都应为：

    [](#开启加密后请求和响应内容都应为)

    ```
    [
      'ciphertext' => '', // 密文
      'cipheriv' => '', // 加密初始化向量
    ]
    ```
- ### ciphertext解释

    [](#ciphertext解释)

    - 密文使用AES加密
    - 加密成功后返回加密使用的初始化向量和密文
- ### cipheriv解释

    [](#cipheriv解释)

    - 使用RSA把AES加密返回的初始化向量加密
- ### 签名规则

    [](#签名规则)

    - 把需要签名的数据字典排序
    - 使用accessKey=test&amp;key=val拼接模式，在开头拼接AES密钥
    - 明确忽略的字段和空字段不参与签名
    - 如果开启了数据加密，则签名会使用AES加密一遍拼接后的内容
    - 最后使用md5加密，然后把字符串转为大写

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance54

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Recently: every ~38 days

Total

12

Last Release

305d ago

### Community

Maintainers

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

---

Top Contributors

[![lanchuan123](https://avatars.githubusercontent.com/u/20118767?v=4)](https://github.com/lanchuan123 "lanchuan123 (1 commits)")

### Embed Badge

![Health badge](/badges/wmud-hyperf-lib/health.svg)

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

###  Alternatives

[hyperf/hyperf-skeleton

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

313190.9k](/packages/hyperf-hyperf-skeleton)[xmo/mine-core

mineadmin core package

1686.9k1](/packages/xmo-mine-core)

PHPackages © 2026

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