PHPackages                             commune/studio-hyperf - 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. [Framework](/categories/framework)
4. /
5. commune/studio-hyperf

ActiveProject[Framework](/categories/framework)

commune/studio-hyperf
=====================

commune/chatbot studio base on swoole coroutine framework hyperf

v0.1.2(6y ago)58132[1 issues](https://github.com/thirdgerb/studio-hyperf/issues)Apache-2.0PHPPHP &gt;=7.2

Since Dec 28Pushed 5y ago5 watchersCompare

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

READMEChangelog (4)Dependencies (35)Versions (6)Used By (0)

CommuneChatbot Studio v0.2
==========================

[](#communechatbot-studio-v02)

0.2 版本正在开发中... 应用开发完后正式撰写文档

- 展示网站:
- v0.1网站:
- v0.1分枝:
- v0.1文档:

微信公众号 CommuneChatbot，qq群：907985715 欢迎交流！

相关项目：

- chatbot:
- hyperf 对接:
- 前端项目:
- nlu单元:

运行本地 Demo
---------

[](#运行本地-demo)

如果想尝试运行本地 demo, 请确保:

- php &gt;=7.3
- swoole &gt;= 4.5 (最好是最新版本)
- 本地安装了 redis
- 本地安装了 mysql

机器人的默认配置文件地址在 [/commune/config/host.php](/commune/config/host.php)

### 安装项目

[](#安装项目)

克隆仓库

```
git clone https://github.com/thirdgerb/studio-hyperf.git

```

进入目录, 使用 composer 安装依赖

```
composer install

```

修改环境变量文件 `./.env` 配置 mysql, redis 等. 具体可参考 [hyperf 配置](https://hyperf.wiki/2.0/#/zh-cn/config?id=%e7%8e%af%e5%a2%83%e5%8f%98%e9%87%8f)

### 初始化数据表

[](#初始化数据表)

运行命令:

```
php bin/hyperf.php migrate

```

可初始化数据表, 具体请参考 [hyperf 迁移](https://hyperf.wiki/2.0/#/zh-cn/db/migration)

### 运行本地 console 端

[](#运行本地-console-端)

执行命令:

```
php bin/hyperf.php commune:start stdio_console -d -r

```

其中 `-d` 参数表示 debug 模式, `-r`参数重置机器人的对话逻辑.

### 运行其它端

[](#运行其它端)

执行命令:

```
php bin/hyperf.php commune:start

```

可查看目前开箱自带的端. 需要配合微信公众号/网页版/nlu 才能使用.

由于项目还在开发中, 尚未撰写相关文档.

如果想运行 demo, 建议还是先查看项目

如果有更多需要, 请加 qq群：907985715 直接向作者提出, 感谢!

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity46

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

Total

4

Last Release

2259d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/07cd152acb87d750d5de1037350526f02d61d95417702d6f5105279df209ca36?d=identicon)[thirdgerb](/maintainers/thirdgerb)

---

Top Contributors

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

---

Tags

phpframeworkswoolehyperfchatbotcommune

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/commune-studio-hyperf/health.svg)

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

###  Alternatives

[mineadmin/mineadmin

Quickly build a background management system for web applications

1.2k2.0k](/packages/mineadmin-mineadmin)[hyperf/swow-skeleton

A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices and middlewares.

514.5k](/packages/hyperf-swow-skeleton)

PHPackages © 2026

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