PHPackages                             weeds/wechat-work - 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. weeds/wechat-work

ActiveLibrary

weeds/wechat-work
=================

企业微信SDK

v1.0.3(4y ago)6155—0%proprietaryPHPPHP ^7.3|^8.0

Since Nov 1Pushed 4y ago2 watchersCompare

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

READMEChangelog (4)DependenciesVersions (5)Used By (0)

### 安装

[](#安装)

```
composer require weeds/wechat-work
```

### 添加服务 修改 config/app.php

[](#添加服务-修改-configappphp)

```
providers 新增 Weeds\WechatWork\WechatWorkServiceProvider::class
aliases 新增 'WechatWork'=>Weeds\WechatWork\Facades\WechatWork::class
```

### 清理缓存

[](#清理缓存)

```
 composer dump-autoload
```

### 发布配置到框架配置目录

[](#发布配置到框架配置目录)

```
php artisan vendor:publish --provider="Weeds\WechatWork\WechatWorkServiceProvider"
```

### 修改env文件

[](#修改env文件)

```
# 企业微信sdk配置
#通讯录
WECHATWORK_CORP_ID = xxx
WECHATWORK_AGENTS_CONTACTS_SECRET = xxx
#打卡
WECHATWORK_AGENTS_OA_AGENT_ID = 110xxxx
WECHATWORK_AGENTS_OA_SECRET = xxxx
#自建应用
WECHATWORK_AGENTS_APPLICATION_AGENT_ID = 222xxx
WECHATWORK_AGENTS_APPLICATION_SECRET = xxx
```

### 使用

[](#使用)

```
    use WechatWork;
    list($status,$list) = WechatWork::department_list();
    dump($list);exit;
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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

Every ~12 days

Total

4

Last Release

1613d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a574e826e24a461dd2be25ef4f5797e1afd144339c04bf4d83f36d2e303cbc8b?d=identicon)[weeds](/maintainers/weeds)

---

Top Contributors

[![weedsks](https://avatars.githubusercontent.com/u/30654045?v=4)](https://github.com/weedsks "weedsks (8 commits)")[![weedsyl](https://avatars.githubusercontent.com/u/198883325?v=4)](https://github.com/weedsyl "weedsyl (8 commits)")

---

Tags

laravelsdkwechatlaravel8

### Embed Badge

![Health badge](/badges/weeds-wechat-work/health.svg)

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

###  Alternatives

[overtrue/laravel-wechat

微信 SDK for Laravel

3.0k1.8M53](/packages/overtrue-laravel-wechat)

PHPackages © 2026

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