PHPackages                             piccscy/think-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. piccscy/think-wechat

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

piccscy/think-wechat
====================

企业微信SDK for ThinkPHP5

V1.0.0(5y ago)08MITPHP

Since Mar 2Pushed 5y agoCompare

[ Source](https://github.com/piccscy/think-wechat)[ Packagist](https://packagist.org/packages/piccscy/think-wechat)[ RSS](/packages/piccscy-think-wechat/feed)WikiDiscussions master Synced 6d ago

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

[![Latest Stable Version](https://camo.githubusercontent.com/684f78268e1841ee2bb6d67be7034de17e8b49b3d43d5191433728702f30b3ee/68747470733a2f2f706f7365722e707567782e6f72672f70697468796f6e652f7468696e6b2d7765636861742f762f737461626c65)](https://packagist.org/packages/pithyone/think-wechat)[![Latest Unstable Version](https://camo.githubusercontent.com/00227fd12609f6df7453e1e719d1d1b1d3aaa48ca3eeb2933a4758724f9c64f5/68747470733a2f2f706f7365722e707567782e6f72672f70697468796f6e652f7468696e6b2d7765636861742f762f756e737461626c65)](https://packagist.org/packages/pithyone/think-wechat)[![License](https://camo.githubusercontent.com/58c35bd011a5fc1668c8b3dca8c131f539d6e046ba0af2d3234cc627f7a36dc6/68747470733a2f2f706f7365722e707567782e6f72672f70697468796f6e652f7468696e6b2d7765636861742f6c6963656e7365)](https://packagist.org/packages/pithyone/think-wechat)

think-wechat
============

[](#think-wechat)

企业微信SDK for ThinkPHP5，基于 [pithyone/wechat](https://github.com/pithyone/wechat)

> 理论上支持 ThinkPHP 5.1.x 所有版本

安装
--

[](#安装)

```
composer require piccscy/think-wechat
```

配置
--

[](#配置)

1. 创建配置文件

将 `vendor/piccscy/think-wechat/src/config.php` 拷贝至应用配置目录，然后重命名为 `wework.php`

2. 在 `provider.php` 绑定类库

```
return [
    // ...
    'wework' => \think\WeWork::class,
];
```

用法
--

[](#用法)

以获取 access\_token 为例：

```
app('wework')->get('token')->get();
```

使用其他应用时，改变默认设置即可，假设有一个测试应用为 `test`

```
app('wework', ['test'], true)->get('token')->get();
```

更多用法请参考：

License
-------

[](#license)

[MIT](https://github.com/piccscy/think-wechat/blob/master/LICENSE)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

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

1902d ago

### Community

Maintainers

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

---

Top Contributors

[![pithyone](https://avatars.githubusercontent.com/u/8215934?v=4)](https://github.com/pithyone "pithyone (12 commits)")[![piccscy](https://avatars.githubusercontent.com/u/4146625?v=4)](https://github.com/piccscy "piccscy (3 commits)")

### Embed Badge

![Health badge](/badges/piccscy-think-wechat/health.svg)

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

###  Alternatives

[vmwarephp/vmwarephp

Vmware vSphere bindings for PHP

7818.8k](/packages/vmwarephp-vmwarephp)

PHPackages © 2026

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