PHPackages                             callmez/yii2-app-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. [Framework](/categories/framework)
4. /
5. callmez/yii2-app-wechat

ActiveProject[Framework](/categories/framework)

callmez/yii2-app-wechat
=======================

Yii 2 Wechat Application Template

2.0.3(11y ago)5771339BSD-3-ClausePHPPHP &gt;=5.4.0

Since Dec 1Pushed 10y ago14 watchersCompare

[ Source](https://github.com/callmez/yii2-app-wechat)[ Packagist](https://packagist.org/packages/callmez/yii2-app-wechat)[ Docs](http://www.yiiframework.com/)[ RSS](/packages/callmez-yii2-app-wechat/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (8)Used By (0)

Yii2微信系统模板
==========

[](#yii2微信系统模板)

以[Yii2-app-basic](https://github.com/yiisoft/yii2-app-basic)为基础模板展现[Yii2-wechat](https://github.com/callmez/yii2-wechat)模块的基础功能, 可用于生产环境或模块使用示例.

安装要求
----

[](#安装要求)

PHP &gt;= 5.4.0.

安装
--

[](#安装)

### 使用Composer安装

[](#使用composer安装)

命令行执行以下命令:

```
// Yii2框架依赖
php composer.phar global require "fxp/composer-asset-plugin:1.0.0"
// 框架安装为wechat目录
php composer.phar create-project --prefer-dist --stability=dev callmez/yii2-app-wechat wechat

```

配置
--

[](#配置)

### 数据库

[](#数据库)

编辑 `config/db.php` 填入你的数据库配置, 例如:

```
return [
    'class' => 'yii\db\Connection',
    'dsn' => 'mysql:host=localhost;dbname=yii2wechat', // 数据库必须存在.
    'username' => 'root',
    'password' => '1234',
    'charset' => 'utf8',
];
```

### 微信设置

[](#微信设置)

当数据库配置完成后, 需要执行一些步骤来完整的使用wechat模块提供的功能

命令行执行

```
// 迁移wechat模块数据库表
php yii migrate --migrationPath=@callmez/wechat/migrations
// 迁移示例模块数据库表, 如果已经熟悉微信模块的功能这一步可以略过
php yii migrate --migrationPath=@app/modules/example/migrations

```

访问
--

[](#访问)

如果以上都设置完毕, 并且应用安装在你的Web服务访问目录下, 你只需要在浏览器输入以下地址即可体验

```
http://localhost/wechat/web

```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community30

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~38 days

Total

7

Last Release

4097d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/133ed7e990d10a18e1c6feab2a12143d5367755c76fe211222bfcdd4741412b6?d=identicon)[callmez](/maintainers/callmez)

---

Top Contributors

[![qiangxue](https://avatars.githubusercontent.com/u/993322?v=4)](https://github.com/qiangxue "qiangxue (145 commits)")[![samdark](https://avatars.githubusercontent.com/u/47294?v=4)](https://github.com/samdark "samdark (73 commits)")[![cebe](https://avatars.githubusercontent.com/u/189796?v=4)](https://github.com/cebe "cebe (45 commits)")[![Ragazzo](https://avatars.githubusercontent.com/u/1748844?v=4)](https://github.com/Ragazzo "Ragazzo (36 commits)")[![callmez](https://avatars.githubusercontent.com/u/1625891?v=4)](https://github.com/callmez "callmez (14 commits)")[![creocoder](https://avatars.githubusercontent.com/u/896494?v=4)](https://github.com/creocoder "creocoder (7 commits)")[![schmunk42](https://avatars.githubusercontent.com/u/649031?v=4)](https://github.com/schmunk42 "schmunk42 (6 commits)")[![lucianobaraglia](https://avatars.githubusercontent.com/u/374554?v=4)](https://github.com/lucianobaraglia "lucianobaraglia (6 commits)")[![slavcodev](https://avatars.githubusercontent.com/u/757721?v=4)](https://github.com/slavcodev "slavcodev (4 commits)")[![maximal](https://avatars.githubusercontent.com/u/980679?v=4)](https://github.com/maximal "maximal (3 commits)")[![githubjeka](https://avatars.githubusercontent.com/u/874234?v=4)](https://github.com/githubjeka "githubjeka (3 commits)")[![mohorev](https://avatars.githubusercontent.com/u/4974062?v=4)](https://github.com/mohorev "mohorev (3 commits)")[![KingYes](https://avatars.githubusercontent.com/u/902548?v=4)](https://github.com/KingYes "KingYes (2 commits)")[![klimov-paul](https://avatars.githubusercontent.com/u/1482054?v=4)](https://github.com/klimov-paul "klimov-paul (2 commits)")[![mickgeek](https://avatars.githubusercontent.com/u/8091481?v=4)](https://github.com/mickgeek "mickgeek (1 commits)")[![mikehaertl](https://avatars.githubusercontent.com/u/675062?v=4)](https://github.com/mikehaertl "mikehaertl (1 commits)")[![zelenin](https://avatars.githubusercontent.com/u/1427885?v=4)](https://github.com/zelenin "zelenin (1 commits)")[![PaulVanSchayck](https://avatars.githubusercontent.com/u/6281107?v=4)](https://github.com/PaulVanSchayck "PaulVanSchayck (1 commits)")[![pmoust](https://avatars.githubusercontent.com/u/2493339?v=4)](https://github.com/pmoust "pmoust (1 commits)")[![johonunu](https://avatars.githubusercontent.com/u/320024?v=4)](https://github.com/johonunu "johonunu (1 commits)")

---

Tags

frameworkyii2basicapplication template

### Embed Badge

![Health badge](/badges/callmez-yii2-app-wechat/health.svg)

```
[![Health](https://phpackages.com/badges/callmez-yii2-app-wechat/health.svg)](https://phpackages.com/packages/callmez-yii2-app-wechat)
```

###  Alternatives

[nenad/yii2-basic-template

Improved Yii 2 Basic Application Template By Nenad Zivkovic

496.5k](/packages/nenad-yii2-basic-template)[kartik-v/yii2-app-practical-b

Yii 2 Practical-B Application Template

312.7k](/packages/kartik-v-yii2-app-practical-b)[funson86/yii2-adminlte

Yii 2 Advanced Application Template with Adminlte Theme

1492.2k](/packages/funson86-yii2-adminlte)[yii2mod/base

Base application template for Yii2

531.3k](/packages/yii2mod-base)

PHPackages © 2026

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