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

ActiveLibrary[API Development](/categories/api)

zuogechengxu/wechat
===================

Laravel Wechat SDK

v2.0.1(2y ago)32061MITPHPPHP &gt;=7.1

Since May 5Pushed 2y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (22)Used By (0)

Laravel Wechat SDK
==================

[](#laravel-wechat-sdk)

一个基于 Laravel 开发的企业微信/微信 SDK

该仓库目前大部分应用于企业微信的日常开发，支持部分小程序和公众号接口，如需其他接口支持请提 issues

目录
--

[](#目录)

- [环境要求](#%E7%8E%AF%E5%A2%83%E8%A6%81%E6%B1%82)
- [安装](#%E5%AE%89%E8%A3%85)
- [企业微信](docs/work/01-initialize.md)
    - [初始化](docs/work/01-initialize.md)
    - [获取access\_token](docs/work/02-access-token.md)
    - [网页授权](docs/work/03-oauth.md)
    - [OA](docs/work/08-oa.md)
    - [通讯录](docs/work/04-contacts.md)
    - [部门管理](docs/work/09-department.md)
    - [标签管理](docs/work/10-tag.md)
    - [JS-SDK](docs/work/05-jssdk.md)
    - [消息发送](docs/work/06-message.md)
    - [群机器人](docs/work/07-group-robot.md)
- [微信公众号](docs/offiaaccount/01-initialize.md)
    - [初始化](docs/offiaaccount/01-initialize.md)
    - [获取access\_token](docs/offiaaccount/02-access-token.md)
    - [JS-SDK](docs/offiaaccount/03-jssdk.md)
- [微信小程序](docs/miniprogram/01-initialize.md)
    - [初始化](docs/miniprogram/01-initialize.md)
    - [获取access\_token](docs/miniprogram/02-access-token.md)
    - [登录](docs/miniprogram/03-login.md)
    - [获取手机](docs/miniprogram/04-phonenumber.md)
    - [小程序QR](docs/miniprogram/05-appcode.md)
    - [订阅消息](docs/miniprogram/06-subscribe-message.md)
    - [小程序链接](docs/miniprogram/07-applink.md)

环境要求
----

[](#环境要求)

- PHP &gt;= 7.1

安装
--

[](#安装)

使用 [composer](http://getcomposer.org/):

目前阿里云Composer镜像同步问题尚未解决，建议使用官方镜像或者腾讯等镜像

```
# 取消当前镜像配置
composer config -g --unset repos.packagist

# 使用腾讯镜像
composer config -g repos.packagist composer https://mirrors.tencent.com/composer/

# 安装
composer require zuogechengxu/wechat
```

说明
--

[](#说明)

因该项目缓存 Token 直接使用了Laravel Cache 的 Facades，建议将 CACHE\_DRIVER=file 改为 CACHE\_DRIVER=redis

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

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 ~28 days

Recently: every ~54 days

Total

21

Last Release

892d ago

Major Versions

v1.9.9 → v2.02023-09-07

PHP version history (4 changes)v1.0PHP ^7.4

v1.5PHP &gt;=7.4

v1.9.4PHP &gt;=7.0

v1.9.6PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/fca6b6d9c0b5cfa9c98c5b2cad4228e90e2096fec04f210b3182e34b8c21984a?d=identicon)[zl-php](/maintainers/zl-php)

---

Top Contributors

[![zl-php](https://avatars.githubusercontent.com/u/19991986?v=4)](https://github.com/zl-php "zl-php (59 commits)")

---

Tags

laravel-wechatphpwechatwechat-sdkwecomwecom-sdkweixin

### Embed Badge

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

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

PHPackages © 2026

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