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. [API Development](/categories/api)
4. /
5. cbcfrank/mpcube

ActiveLibrary[API Development](/categories/api)

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

composite miniapp api for php developer

0.15(4y ago)112ApachePHPCI failing

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 today

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 31% 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

1464d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4137296?v=4)[FRANK CHAN](/maintainers/cbcfrank)[@cbcfrank](https://github.com/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

[google/apiclient

Client library for Google APIs

9.8k205.9M1.1k](/packages/google-apiclient)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[prestashop/prestashop

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

9.1k17.8k](/packages/prestashop-prestashop)[googleads/google-ads-php

Google Ads API client for PHP

3508.5M12](/packages/googleads-google-ads-php)[team-reflex/discord-php

An unofficial API to interact with the voice and text service Discord.

1.1k420.9k26](/packages/team-reflex-discord-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)

PHPackages © 2026

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