PHPackages                             fastwhale/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. fastwhale/yii2-wechat

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

fastwhale/yii2-wechat
=====================

Fastwhale SCRM System Yii2 wechat SDKThis sdk must used in fastwhale scrm system

v0.1.0(2y ago)067↓50%MITPHP

Since Sep 1Pushed 2y ago2 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Yii2-wechat
===========

[](#yii2-wechat)

Fastwhale SCRM System Yii2 wechat SDK This sdk must used in fastwhale scrm system.

[![Latest Stable Version](https://camo.githubusercontent.com/2be5822fb974e2b731c42b30f4515399bee9641594f0daa015d7a88b768fb8fa/68747470733a2f2f706f7365722e707567782e6f72672f666173747768616c652f796969322d7765636861742f762f737461626c652e706e67)](https://packagist.org/packages/fastwhale/yii2-wechat)[![Total Downloads](https://camo.githubusercontent.com/4b313a409c0885aa4fd22e08caf8b5fe6be5a57db2bc2c21619bf94cf9b246b4/68747470733a2f2f706f7365722e707567782e6f72672f666173747768616c652f796969322d7765636861742f646f776e6c6f6164732e706e67)](https://packagist.org/packages/fastwhale/yii2-wechat)[![License](https://camo.githubusercontent.com/8804f139a4583461b806a47d1d899410a659001c0d7c4fbc042a74b375fb0b62/687474703a2f2f706f7365722e707567782e6f72672f666173747768616c652f796969322d7765636861742f6c6963656e7365)](https://packagist.org/packages/fastwhale/yii2-wechat)[![PHP Version Require](https://camo.githubusercontent.com/6d0f303933c270df1ed52eeffcc824148751c8ca92d52952dacd71b104a99257/687474703a2f2f706f7365722e707567782e6f72672f666173747768616c652f796969322d7765636861742f726571756972652f706870)](https://packagist.org/packages/fastwhale/yii2-wechat)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist fastwhale/yii2-wechat "*"

```

or add

```
"fastwhale/yii2-wechat": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
/** @var Wechat $wechat */
$wechat = \Yii::createObject([
    'class'     => Wechat::className(),
    'appId'     => $appid,
    'appSecret' => $appSecret,
    'token'     => $token,
]);

/** @var Wechat $wechat */
$wechat = \Yii::createObject([
    'class'          => Wechat::className(),
    'appId'          => $appid,
    'appSecret'      => $appSecret,
    'token'          => $token,
    'componentAppId' => $componentAppId,
]);

/** @var Wechat $wechat */
$wechat = \Yii::createObject([
    'class'                 => Wechat::className(),
    'appId'                 => $appid,
    'appSecret'             => $appSecret,
    'token'                 => $token,
    'componentAppId'        => $componentAppId,
    '_componentAccessToken' => $componentAccessToken,
]);
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% 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

Unknown

Total

1

Last Release

984d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/22ecd713318e756f10dba01c3f7b56a2012cebe3c64d72261d0be24a03d11342?d=identicon)[fastwhale](/maintainers/fastwhale)

---

Top Contributors

[![DoveChen](https://avatars.githubusercontent.com/u/12093494?v=4)](https://github.com/DoveChen "DoveChen (1 commits)")[![fastwhale](https://avatars.githubusercontent.com/u/143690859?v=4)](https://github.com/fastwhale "fastwhale (1 commits)")

---

Tags

sdkyii2wechatweixinscrmfastwhale

### Embed Badge

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

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

###  Alternatives

[w7corp/easywechat

微信SDK

10.4k761.6k60](/packages/w7corp-easywechat)[callmez/yii2-wechat-sdk

The wechat api for the Yii framework

32613.6k3](/packages/callmez-yii2-wechat-sdk)

PHPackages © 2026

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