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

ActiveLibrary[API Development](/categories/api)

littler/wechat
==============

EasyWechat For thnkphp5.1+ or thinkphp6.0

1.0.3(4y ago)0111MITPHPPHP ~8.0

Since May 29Pushed 4y ago1 watchersCompare

[ Source](https://github.com/littlezo/tp-wechat)[ Packagist](https://packagist.org/packages/littler/wechat)[ RSS](/packages/littler-wechat/feed)WikiDiscussions main Synced 5d ago

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

tp-wechat
=========

[](#tp-wechat)

[![FOSSA Status](https://camo.githubusercontent.com/6dacb2c481a5162e3f654db8c92ecef9ccb151f959a73254c846a117aa5335a7/68747470733a2f2f6170702e666f7373612e696f2f6170692f70726f6a656374732f6769742532426769746875622e636f6d2532466c6974746c657a6f25324674702d7765636861742e7376673f747970653d736869656c64)](https://app.fossa.io/projects/git%2Bgithub.com%2Flittlezo%2Ftp-wechat?ref=badge_shield)

微信 SDK For ThinkPHP 6.0 基于[overtrue/wechat](https://github.com/overtrue/wechat)

框架要求
----

[](#框架要求)

ThinkPHP6.0(中间件要求支持 ThinkPH6.0+)

安装
--

[](#安装)

```
composer require littler/wechat

```

配置
--

[](#配置)

1. 修改配置文件 修改项目根目录下 config/wechat.php 中对应的参数
2. 每个模块基本都支持多账号，默认为 default。

使用
--

[](#使用)

### 接受普通消息

[](#接受普通消息)

新建一个 Controller，我这边用的是 Test

```
