PHPackages                             mochat/plugin-creater - 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. mochat/plugin-creater

ActiveProject

mochat/plugin-creater
=====================

MoChat Plugin Creater.

V1.0.0(4y ago)3896↓87.5%GPL-3.0PHPPHP &gt;=7.4

Since Sep 12Pushed 4y ago1 watchersCompare

[ Source](https://github.com/mochat-cloud/plugin-creater)[ Packagist](https://packagist.org/packages/mochat/plugin-creater)[ RSS](/packages/mochat-plugin-creater/feed)WikiDiscussions master Synced 4d ago

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

plugin-creater
==============

[](#plugin-creater)

MoChat 插件创建器

使用方式
----

[](#使用方式)

```
# 先进入 api-server 目录
cd /www/wwwroot/mochat/api-server
# 比如要创建一个 maxincai/demo 的插件
# plugin/maxincai/demo
# plugin 表示插件目录
# maxincai 一般为开发者github账号/composer 作者名
# demo 为插件名称
# 执行命令根据提示一步步操作即可
composer create-project mochat/plugin-creater plugin/maxincai/demo
```

插件目录示例
------

[](#插件目录示例)

```
# 执行成功后就会得到一下如下结构的插件
plugin/maxincai/demo/
|-- composer.json
|-- LICENSE
|-- phpunit.xml
|-- README.md
|-- src
|   |-- ConfigProvider.php
|   |-- Action-------------------------------------- 动作目录(控制器)
|   |-- Constants----------------------------------- 常量目录
|   |-- Contract------------------------------------ 服务接口契约目录
|   |-- Event--------------------------------------- 事件目录
|   |-- Job----------------------------------------- 异步任务目录
|   |-- Listener------------------------------------ 事件监听器目录
|   |-- Logic--------------------------------------- 业务逻辑目录
|   |-- Model--------------------------------------- 模型目录
|   |-- Queue--------------------------------------- 异步队列目录
|   |-- Service------------------------------------- 服务目录
|   `-- Task---------------------------------------- 定时任务目录
`-- tests
    |-- bootstrap.php
    `-- Cases
```

感谢：
---

[](#感谢)

本工具根据 Hyperf 官方 `component-creater` 大量代码 Copy 而来，再次感谢。

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Unknown

Total

1

Last Release

1705d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dd7b95c96848330a7f190107f6ea97b9ae50bd20a9e42f4ca2e837642b969c18?d=identicon)[mochat](/maintainers/mochat)

---

Top Contributors

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

---

Tags

phpmochat

### Embed Badge

![Health badge](/badges/mochat-plugin-creater/health.svg)

```
[![Health](https://phpackages.com/badges/mochat-plugin-creater/health.svg)](https://phpackages.com/packages/mochat-plugin-creater)
```

###  Alternatives

[pestphp/pest-plugin-stressless

Stressless plugin for Pest

67792.6k16](/packages/pestphp-pest-plugin-stressless)

PHPackages © 2026

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