PHPackages                             cbcfrank/mpcube - 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. cbcfrank/mpcube

ActiveLibrary

cbcfrank/mpcube
===============

composite miniapp api for php developer

0.15(3y ago)112ApachePHP

Since Jul 17Pushed 3y agoCompare

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

READMEChangelog (4)Dependencies (4)Versions (7)Used By (0)

#### 项目介绍

[](#项目介绍)

> 项目初衷：在每个实际需要微信公众号功能的项目都要维护一套调用api，为了快速推进项目，将微信的api封装成为可用的SDK，避免重复劳动。

#### 源代码文件目录结构

[](#源代码文件目录结构)

```
├── src  //源代码
│   ├── Wechat //微信端
│   │    ├── Publics //公众号
│   │    │     ├── Menu //菜单相关功能
│   │    │     │    ├─ ParamsRemark.php    //参数说明
│   │    │     │    ├─ Menu.php            //操作对象
│   │    │     │    └─ xxxxType.php        //枚举类
│   │    │     |
│   │    │     ├── ... //其他相关功能
│   │    │     ├── AccessToken.php  //公众号全局获取access_token类
│   │    │     ├── Common.php       //通用类方法 trait
│   │    │     ├── Errcode.php      //错误码类
│   │    │     ├── IPList.php       //微信服务器白名单获取类
│   │    │     ├── MagicGetSet.php  //魔术方法 trait
│   │    │     ├── Runtime.php      //运行时函数
│   │    │     └── Singleton.php    //单例方法 trait
│   │    │
│   │    └── Miniapp //小程序
|   |          ├── Auth             //登录
|   |          ├── NearbyPoi        //附近的小程序
|   |          ├── Phonenumber      //手机号码
|   |          ├── UniformMessage   //统一服务消息
|   |          ├── Logistics        //物流服务
|   |          └── Wxacode          //小程序码
|   |
│   ├── Wepay //微信支付
│   │    ├── Qrcode  //付款码支付
│   │    ├── Jsapi   //JSAPI支付
│   │    ├── Miniapp //小程序支付
│   │    ├── Native  //Native支付
│   │    ├── App     //APP支付
│   │    ├── H5      //H5支付
│   │    └── Face    //刷脸支付
│   │
│   ├── Wxwork //企业微信
│        ├── Department      //通讯录管理-部门管理
│        ├── User            //通讯录管理-用户管理
│        ├── ExternalContact //客户联系
│        └── Message         //消息推送
│
├── runtime //运行时目录
│
├── test  //测试代码
│
└── docs  //设计及开发文档存放，markdown格式

```

#### 文档目录导航

[](#文档目录导航)

- [开始](docs/01_KICKOFF.md)
- [菜单](docs/02_MENU.md)
- [事件及消息](docs/03_EVENT_MESSAGE.md)
- [素材](docs/04_MATERIAL.md)
- [模板消息](docs/05_TEMPLATE.md)
- [客服](docs/06_CUSTOMSERVICE.md)
- [网页授权](docs/07_WEB.md)
- [卡券](docs/08_CARD.md)
- [账号管理](docs/09_UTILS.md)
- [用户管理](docs/10_USER.md)

#### 运行、启动、调试方式

[](#运行启动调试方式)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

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

Recently: every ~267 days

Total

6

Last Release

1415d ago

### Community

Maintainers

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

---

Top Contributors

[![cbcfrank](https://avatars.githubusercontent.com/u/4137296?v=4)](https://github.com/cbcfrank "cbcfrank (10 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cbcfrank-mpcube/health.svg)

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

###  Alternatives

[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[drevops/git-artifact

Package artifact from your codebase in CI and push it to a separate git repo.

2133.2k](/packages/drevops-git-artifact)[doppar/framework

The Doppar Framework

366.7k8](/packages/doppar-framework)

PHPackages © 2026

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