PHPackages                             cheng/yii2-wx - 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. cheng/yii2-wx

ActiveYii2-extension[API Development](/categories/api)

cheng/yii2-wx
=============

基于yii2扩展微信公众号和小程序相关接口服务

171PHP

Since Oct 25Pushed 7y ago1 watchersCompare

[ Source](https://github.com/chengxiansheng/yii2-wx)[ Packagist](https://packagist.org/packages/cheng/yii2-wx)[ RSS](/packages/cheng-yii2-wx/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-wx
=======

[](#yii2-wx)

基于yii2扩展微信公众号和小程序相关接口服务

composer 安装
===========

[](#composer-安装)

```
composer require "cheng/yii2-wx" "*"

```

应用结构
====

[](#应用结构)

```
wx/
	base/						基础类
		...
	common/						小程序与微信公众号通用接口
	template/
		customerMsg/			模板消息统一接口
	config/						客服消息接口
		map-class.php			接口地图
	mini/
		ase/					微信数据加密
		check/					内容安全检测接口
		qrcode/					二维码
		template/				模板消息
		user/					用户信息
	mp/
		menu/					自定义菜单/个性化菜单设置
		user/					用户信息、标签、黑名单
		qrcode/					二维码、短连接生成
		template/				模板消息
		oauth/					微信网页授权
	Application.php				应用入口文件

```

###  Health Score

20

—

LowBetter than 12% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity40

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13652575?v=4)[chengxiansheng](/maintainers/chengxiansheng)[@chengxiansheng](https://github.com/chengxiansheng)

---

Top Contributors

[![chengxiansheng](https://avatars.githubusercontent.com/u/13652575?v=4)](https://github.com/chengxiansheng "chengxiansheng (5 commits)")

### Embed Badge

![Health badge](/badges/cheng-yii2-wx/health.svg)

```
[![Health](https://phpackages.com/badges/cheng-yii2-wx/health.svg)](https://phpackages.com/packages/cheng-yii2-wx)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.5M7](/packages/exsyst-swagger)[lucasdotvin/laravel-soulbscription

A straightforward interface to handle subscriptions and features consumption.

709209.3k](/packages/lucasdotvin-laravel-soulbscription)

PHPackages © 2026

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