PHPackages                             hyperf-plus/devtool - 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. [Admin Panels](/categories/admin)
4. /
5. hyperf-plus/devtool

ActiveLibrary[Admin Panels](/categories/admin)

hyperf-plus/devtool
===================

hyperf-plus-admin可选的开发工具插件

v1.0.6(3y ago)32.7k[1 PRs](https://github.com/hyperf-plus/devtool/pulls)MITPHPPHP &gt;=7.3

Since Jan 18Pushed 3y ago1 watchersCompare

[ Source](https://github.com/hyperf-plus/devtool)[ Packagist](https://packagist.org/packages/hyperf-plus/devtool)[ Docs](https://github.com/hyperf-plus/devtool)[ RSS](/packages/hyperf-plus-devtool/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (17)Used By (0)

devtool
=======

[](#devtool)

hyperf 开发工具 gen:admin
---------------------

[](#hyperf-开发工具--genadmin)

安装
==

[](#安装)

```
composer require hyperf-plus/devtool --dev
```

### 建好表后，需要先执行`php bin/hyperf.php gen:model`表名 创建模型，

[](#建好表后需要先执行php-binhyperfphp-genmodel表名-创建模型)

### 然后执行 `php bin/hyperf.php gen:admin` 模型名

[](#然后执行--php-binhyperfphp-genadmin-模型名)

```
  -d （可选）控制器的简介
  -N （可选）命名空间 默认 \App\Controller\Admin
  -f （可选）如果文件存在则会强制覆盖
```

例如 ：
----

[](#例如-)

### 数据库表为 users

[](#数据库表为--users)

### 执行 `php bin/hyperf.php gen:model users` 模型生成在 App\\model\\User

[](#执行-php-binhyperfphp-genmodel-users-模型生成在-appmodeluser)

### 执行 `php bin/hyperf.php gen:admin User -d 用户管理`

[](#执行-php-binhyperfphp-genadmin-user--d-用户管理)

### 即可生成 User.php控制器文件、grid、form会把所有字段都列出来，自行根据需求进行修改

[](#即可生成-userphp控制器文件gridform会把所有字段都列出来自行根据需求进行修改)

#### 目前只有简单的生成表单和表格的功能，后续会增加可视化界面，支持更多可选配置操作。

[](#目前只有简单的生成表单和表格的功能后续会增加可视化界面支持更多可选配置操作)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% 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 ~116 days

Recently: every ~103 days

Total

6

Last Release

1366d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6064d6ea21c78c19ac11c7918d833822adf51797f1920b2c1b45968795a71074?d=identicon)[lphkxd](/maintainers/lphkxd)

---

Top Contributors

[![lphkxd](https://avatars.githubusercontent.com/u/16346895?v=4)](https://github.com/lphkxd "lphkxd (12 commits)")[![CuiStar](https://avatars.githubusercontent.com/u/34704294?v=4)](https://github.com/CuiStar "CuiStar (2 commits)")

---

Tags

permissionadminvuehyperf

### Embed Badge

![Health badge](/badges/hyperf-plus-devtool/health.svg)

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

###  Alternatives

[hyperf-plus/admin

开箱即用的Hyperf后台扩展，amis最强后台管理系统

2897.3k](/packages/hyperf-plus-admin)[mineadmin/mineadmin

Quickly build a background management system for web applications

1.2k2.0k](/packages/mineadmin-mineadmin)[moell/mojito

Mojito admin is a component of laravel, vue, element build backend system.

49810.7k](/packages/moell-mojito)[smallruraldog/laravel-vue-admin

开箱即用的Laravel后台扩展

4042.9k](/packages/smallruraldog-laravel-vue-admin)[hyperf-plus/ui

hyperf UI 插件，用php代码写amis组件神器

197.6k2](/packages/hyperf-plus-ui)

PHPackages © 2026

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