PHPackages                             fbyphp/fbyphp-wxapp - 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. fbyphp/fbyphp-wxapp

ActiveLibrary[API Development](/categories/api)

fbyphp/fbyphp-wxapp
===================

微信小程序开发组件 for hyperf

1.3(2y ago)264MITPHPPHP &gt;=7.2

Since May 11Pushed 2y ago1 watchersCompare

[ Source](https://github.com/fbaiyi/fbyphp-wxapp)[ Packagist](https://packagist.org/packages/fbyphp/fbyphp-wxapp)[ RSS](/packages/fbyphp-fbyphp-wxapp/feed)WikiDiscussions master Synced 6d ago

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

微信小程序开发组件 for hyperf
--------------------

[](#微信小程序开发组件-for-hyperf)

### 安装组件:

[](#安装组件)

> composer require fbyphp/fbyphp-wxapp

### 发布配置:

[](#发布配置)

> php bin/hyperf.php vendor:publish fbyphp/fbyphp-wxapp

### 编辑.env配置：

[](#编辑env配置)

```
WXAPP_APPID=wxda93db123lafdu83d
WXAPP_APPSECRET=87afeef9df90b74g4a8l9ca8d67b5742
WXAPP_KEY=mWm1DkAVBAZD2L5rs3QWKeoWa62wLumjqCXG9HifLdM
WXAPP_URL=https://api.weixin.qq.com/
```

### 示例代码：

[](#示例代码)

```
use Fbyphp\FbyphpWxapp\WxappInterface;

......

/**
 * @Inject
 * @var WxappInterface
 */
protected $wxappInterface;

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

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

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

Total

4

Last Release

737d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/682d7e13d91ea623a13724d9c2d57e6ad304239a5ef1fd717c43fb9e70b455dd?d=identicon)[方白逸](/maintainers/%E6%96%B9%E7%99%BD%E9%80%B8)

---

Top Contributors

[![fbaiyi](https://avatars.githubusercontent.com/u/28721945?v=4)](https://github.com/fbaiyi "fbaiyi (11 commits)")

---

Tags

apihyperf

### Embed Badge

![Health badge](/badges/fbyphp-fbyphp-wxapp/health.svg)

```
[![Health](https://phpackages.com/badges/fbyphp-fbyphp-wxapp/health.svg)](https://phpackages.com/packages/fbyphp-fbyphp-wxapp)
```

###  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)
