PHPackages                             yadjet/yii2-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. [API Development](/categories/api)
4. /
5. yadjet/yii2-wechat

ActiveProject[API Development](/categories/api)

yadjet/yii2-wechat
==================

overtrue Wechat SDK for Yii2

5431PHP

Since Sep 14Pushed 10y ago1 watchersCompare

[ Source](https://github.com/hiscaler/yii2-wechat)[ Packagist](https://packagist.org/packages/yadjet/yii2-wechat)[ RSS](/packages/yadjet-yii2-wechat/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

关于
==

[](#关于)

Yii2 微信接口整合，基于 [overtrue/wechat](https://github.com/overtrue/wechat) 扩展

安装
==

[](#安装)

使用 composer，在命令行下使用以下命令：

```
composer require "yadjet/yii2-wechat:dev-master"
```

\#使用

- 在您的应用配置文件中包含以下设置：

```
'wechat' => [
    'class' => '\yadjet\wechat\Wechat',
    'config' => [
        'appId' => 'youAppId',
        'appSecret' => 'youAppSecret',
    ]
],
```

- 示例代码

```
class TestController extends \yii\web\Controller
{
    $userService = Yii::$app->wechat->getService('user');
    $users = $userService->get();
    var_dump($users);
}
```

Wechat SDK 详细的使用方法请参考 [overtrue/wechat 使用手册](https://github.com/overtrue/wechat/wiki)

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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://www.gravatar.com/avatar/a3f0543fc8f1bcc1a23dfc2706793b7c1e4f9cac8fab6362466b62b5774a9c9c?d=identicon)[hiscaler](/maintainers/hiscaler)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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