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

ActiveLibrary

strongwei/thinkphp5-wechat
==========================

微信 SDK for thinkphp5, 基于 overtrue/wechat

1.0(8y ago)010Apache-2.0PHP

Since Dec 14Pushed 8y ago1 watchersCompare

[ Source](https://github.com/zhei87/thinkphp5_wechat)[ Packagist](https://packagist.org/packages/strongwei/thinkphp5-wechat)[ RSS](/packages/strongwei-thinkphp5-wechat/feed)WikiDiscussions master Synced 3d ago

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

thinkphp5-wechat
================

[](#thinkphp5-wechat)

微信 SDK for thinkphp5, 基于 [overtrue/wechat](https://github.com/overtrue/wechat)

安装方法
----

[](#安装方法)

### 第一步 使用composer下载SDK

[](#第一步-使用composer下载sdk)

```
composer require hooklife/thinkphp5-wechat
```

### 第二步 发布配置文件到TP目录

[](#第二步-发布配置文件到tp目录)

项目根目录执行

```
php think wechat:config
```

> 查看application/extra/wechat.php这个目录是否存在，如果不存在手动复制一份这个文件 [config.php](https://raw.githubusercontent.com/hooklife/thinkphp5-wechat/master/src/config.php) 到 application/extra 这个位置 就OK

使用方法
----

[](#使用方法)

具体参考手册 [手册](https://easywechat.org/zh-cn/docs/)TP中使用代码类似

```
use Hooklife\ThinkphpWechat\Wechat;
Wechat::user_tag()->lists();
Wechat::card()->lists()
```

如果有不懂的，可以下面评论。 也欢迎大家在github提交issue和PR

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Unknown

Total

1

Last Release

3074d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5b1681bb8e9909831307b2a00b2d7e51ce099cf99ff4a458d59e5a43c6093779?d=identicon)[zhei87](/maintainers/zhei87)

---

Top Contributors

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

---

Tags

wechatweixinthinkphp5

### Embed Badge

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

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

###  Alternatives

[w7corp/easywechat

微信SDK

10.4k761.6k60](/packages/w7corp-easywechat)[overtrue/laravel-wechat

微信 SDK for Laravel

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

EasyWechat For Thnkphp5.1+

27316.1k1](/packages/naixiaoxin-think-wechat)

PHPackages © 2026

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