PHPackages                             fastwhale/yii2-we-work-private - 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-we-work-private

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

fastwhale/yii2-we-work-private
==============================

Yii2 private wechat work SDK

1.0.0.4(1y ago)061MITPHPPHP ^7.1

Since Dec 15Pushed 1y ago2 watchersCompare

[ Source](https://github.com/fastwhale/yii2-we-work-private)[ Packagist](https://packagist.org/packages/fastwhale/yii2-we-work-private)[ RSS](/packages/fastwhale-yii2-we-work-private/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

Yii2-we-work-private
====================

[](#yii2-we-work-private)

Yii2 private wechat work SDK

[![Latest Stable Version](https://camo.githubusercontent.com/9bae3f43f78f80bb5f24be1b14d6a384a27a64fcde61441e7bbcb39a25e5f5ec/68747470733a2f2f706f7365722e707567782e6f72672f666173747768616c652f796969322d77652d776f726b2d707269766174652f762f737461626c652e706e67)](https://packagist.org/packages/fastwhale/yii2-we-work-private)[![Total Downloads](https://camo.githubusercontent.com/ed7584c007b98db9dd2875b8e3087021b77d1a86f55adff0514ec3bb890bfde8/68747470733a2f2f706f7365722e707567782e6f72672f666173747768616c652f796969322d77652d776f726b2d707269766174652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/fastwhale/yii2-we-work-private)[![License](https://camo.githubusercontent.com/5edd1724ba08b39e979e026bc7abf1cd5521e61e52beada387ff19bd08c694a5/687474703a2f2f706f7365722e707567782e6f72672f666173747768616c652f796969322d77652d776f726b2d707269766174652f6c6963656e7365)](https://packagist.org/packages/fastwhale/yii2-we-work-private)[![PHP Version Require](https://camo.githubusercontent.com/face5d485ab959189c3e7794baab50f588ad6fd025a49853bd358d348ea7d4db/687474703a2f2f706f7365722e707567782e6f72672f666173747768616c652f796969322d77652d776f726b2d707269766174652f726571756972652f706870)](https://packagist.org/packages/fastwhale/yii2-we-work-private)

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-we-work-private "*"

```

or add

```
"fastwhale/yii2-we-work-private": "*"

```

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

Usage
-----

[](#usage)

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

```
/** @var Work $workApi */
$workApi = \Yii::createObject([
    'class'             => Work::className(),
    'corpid'            => $corpid,
    'secret'            => $secret,
    'privatizedBaseUrl' => 'https://privateHost',
]);

/** @var Work $agentApi */
$agentApi = \Yii::createObject([
    'class'             => Work::className(),
    'corpid'            => $corpid,
    'secret'            => $agentSecret,
    'privatizedBaseUrl' => 'https://privateHost',
]);

/** @var ServiceWork $serviceWork */
$serviceWork = \Yii::createObject([
    'class'             => ServiceWork::className(),
    'suite_id'          => $suiteId,
    'suite_secret'      => $suiteSecret,
    'suite_ticket'      => $suiteTicket,
    'auth_corpid'       => $authCorpid,
    'permanent_code'    => $permanentCode,
    'privatizedBaseUrl' => 'https://privateHost',
]);

/** @var ServiceProvider $serviceProvider */
$serviceProvider = \Yii::createObject([
    'class'             => ServiceProvider::className(),
    'provider_corpid'   => $providerCorpid,
    'provider_secret'   => $providerSecret,
    'privatizedBaseUrl' => 'https://privateHost',
]);
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

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.

###  Release Activity

Cadence

Every ~78 days

Total

4

Last Release

689d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

yii2extensionwechatprivateweworkworkwe

### Embed Badge

![Health badge](/badges/fastwhale-yii2-we-work-private/health.svg)

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

###  Alternatives

[abei2017/yii2-wx

一个专注于yii2的微信sdk

1472.8k](/packages/abei2017-yii2-wx)[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1454.6k](/packages/dmstr-yii2-cookie-consent)[imanilchaudhari/yii2-currency-converter

This extension will help to find out current currency conversion rate.

1911.7k](/packages/imanilchaudhari-yii2-currency-converter)[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1358.5k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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