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

ActiveLibrary[API Development](/categories/api)

commune/chatbot-wechat
======================

commune chatbot platform adapter for wechat

10PHP

Since Jul 11Pushed 6y agoCompare

[ Source](https://github.com/thirdgerb/chatbot-wechat)[ Packagist](https://packagist.org/packages/commune/chatbot-wechat)[ RSS](/packages/commune-chatbot-wechat/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (2)Used By (0)

开发和测试中... 尚未正式发布

[commune/chatbot](https://github.com/thirdgerb/chatbot) 项目的微信 adapter.

具体使用可参考 [commune/chatbot-studio](https://github.com/thirdgerb/chatbot-studio)

web服务基于 swoole, wechat 功能使用了 [easywechat项目](https://www.easywechat.com/docs) . 因为开发时间有限, 包括数据读写, 都用比较粗糙的方式实现.

使用方法:
-----

[](#使用方法)

### 在laravel 中安装

[](#在laravel-中安装)

在 laravel 项目中, 运行加载包.

```
composer require commune/chatbot-wechat:dev-develop

```

在 laravel 的 config/app.php 中, 为 providers 添加

```
   \App\Providers\CommuneStudioServiceProvider::class,
   \Commune\Chatbot\Wechat\CommuneWechatServiceProvider::class,

```

### 加载配置文件

[](#加载配置文件)

```
php artisan vendor:publish

```

### 安装数据库

[](#安装数据库)

```
php artisan migrate

```

### 确认依赖

[](#确认依赖)

- swoole ~4.8
- laravel ~7.2
- mysql
- redis

### 运行

[](#运行)

命令行测试

```
php artisan commune:tinker

```

tcp 端口测试

```
php artisan commune:tcp

```

微信服务端测试

```
php artisan commune:wechat-server

```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![thirdgerb](https://avatars.githubusercontent.com/u/12014319?v=4)](https://github.com/thirdgerb "thirdgerb (24 commits)")

### Embed Badge

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

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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