PHPackages                             firstphp/hyperf-wechat - 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. [API Development](/categories/api)
4. /
5. firstphp/hyperf-wechat

ActiveLibrary[API Development](/categories/api)

firstphp/hyperf-wechat
======================

微信公众号开发组件 for hyperf

1.0.2(5y ago)0471MITPHPPHP &gt;=7.2

Since Oct 29Pushed 5y ago1 watchersCompare

[ Source](https://github.com/lamplife/hyperf-wechat)[ Packagist](https://packagist.org/packages/firstphp/hyperf-wechat)[ RSS](/packages/firstphp-hyperf-wechat/feed)WikiDiscussions main Synced 6d ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

微信公众号开发组件 for hyperf
--------------------

[](#微信公众号开发组件-for-hyperf)

### 安装组件:

[](#安装组件)

> composer require firstphp/hyperf-wechat

### 发布配置:

[](#发布配置)

> php bin/hyperf.php vendor:publish firstphp/hyperf-wechat

### 编辑.env配置：

[](#编辑env配置)

```
WECHAT_APPID=wxba34db123lafdu811
WECHAT_APPSECRET=a09dfwlf9df90b74g4a8l9ca8d67bu7o0
WECHAT_KEY=qpy1DkAVBAZD2L5rs0uiKeoWa62wLumjqCXG9HifL3n
WECHAT_URL=https://api.weixin.qq.com/
AES_KEY=AQm3DkAVBAZD2L1rsOWaKeoRda62wLumjqD9G9HifA1a
```

### 示例代码：

[](#示例代码)

```
use Firstphp\FirstphpWechat\WechatInterface;

......

/**
 * @Inject
 * @var WechatInterface
 */
protected $wechatInterface;

public function test() {
    $res = $this->wechatInterface->getAccessToken();
    var_dump($res);
}
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

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

Total

3

Last Release

2024d ago

### Community

Maintainers

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

---

Top Contributors

[![lamplife](https://avatars.githubusercontent.com/u/12744359?v=4)](https://github.com/lamplife "lamplife (3 commits)")

---

Tags

apihyperf

### Embed Badge

![Health badge](/badges/firstphp-hyperf-wechat/health.svg)

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

###  Alternatives

[m165437/laravel-blueprint-docs

API Blueprint Renderer for Laravel

22779.0k](/packages/m165437-laravel-blueprint-docs)[kakuilan/hyperf-apihelper

hyperf api swagger helper

443.0k](/packages/kakuilan-hyperf-apihelper)

PHPackages © 2026

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