PHPackages                             zoujingli/think-plugs-helper - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. zoujingli/think-plugs-helper

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

zoujingli/think-plugs-helper
============================

Developer helper commands for ThinkAdmin models and database indexes

v1.0.2(5mo ago)078Apache-2.0PHPPHP ^8.1

Since Mar 1Pushed 3w ago1 watchersCompare

[ Source](https://github.com/zoujingli/think-plugs-helper)[ Packagist](https://packagist.org/packages/zoujingli/think-plugs-helper)[ Docs](https://thinkadmin.top)[ RSS](/packages/zoujingli-think-plugs-helper/feed)WikiDiscussions master Synced today

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

ThinkPlugsHelper for ThinkAdmin
===============================

[](#thinkplugshelper-for-thinkadmin)

[![Latest Stable Version](https://camo.githubusercontent.com/9227322e838a72a9e8f8e5225930c5032d4ea47a836b7d5fc2e52e1fab0585d8/68747470733a2f2f706f7365722e707567782e6f72672f7a6f756a696e676c692f7468696e6b2d706c7567732d68656c7065722f762f737461626c65)](https://packagist.org/packages/zoujingli/think-plugs-helper)[![Total Downloads](https://camo.githubusercontent.com/0d4d5eedc2f5492b37236fefd72a2eedb40d858060c896f084aacadee50d9c63/68747470733a2f2f706f7365722e707567782e6f72672f7a6f756a696e676c692f7468696e6b2d706c7567732d68656c7065722f646f776e6c6f616473)](https://packagist.org/packages/zoujingli/think-plugs-helper)[![Monthly Downloads](https://camo.githubusercontent.com/284e06b8aba33f6ee4ea6fde7fc65dceb4cb1eee69e27cd6ff56d0ac79d6f8ba/68747470733a2f2f706f7365722e707567782e6f72672f7a6f756a696e676c692f7468696e6b2d706c7567732d68656c7065722f642f6d6f6e74686c79)](https://packagist.org/packages/zoujingli/think-plugs-helper)[![Daily Downloads](https://camo.githubusercontent.com/0a652d4d5d5ae351164f3390e95126e1437d4225d8018e3c429d4a6253a4eaf2/68747470733a2f2f706f7365722e707567782e6f72672f7a6f756a696e676c692f7468696e6b2d706c7567732d68656c7065722f642f6461696c79)](https://packagist.org/packages/zoujingli/think-plugs-helper)[![PHP Version](https://camo.githubusercontent.com/6edd55d00ff169d80f252ddfcd8137da3213250a8ebd4626e06ca0f80efb0657/68747470733a2f2f7468696e6b61646d696e2e746f702f7374617469632f69636f6e2f7068702d372e312e737667)](https://thinkadmin.top)[![License](https://camo.githubusercontent.com/19fc612e53ce480eb2c33989f2fbfa3f3215e4d241835209b555c184569713c6/68747470733a2f2f7468696e6b61646d696e2e746f702f7374617469632f69636f6e2f6c6963656e73652d617061636865322e737667)](https://www.apache.org/licenses/LICENSE-2.0)

**ThinkPlugsHelper** 是面向 **ThinkAdmin** 开发阶段的辅助工具包，提供模型字段注释生成与数据库索引结构辅助命令。

### 加入我们

[](#加入我们)

我们的代码仓库已移至 **Github**，而 **Gitee** 则仅作为国内镜像仓库，方便广大开发者获取和使用。若想提交 **PR** 或 **ISSUE** 请在 [ThinkAdminDeveloper](https://github.com/zoujingli/ThinkAdminDeveloper) 仓库进行操作，如果在其他仓库操作或提交问题将无法处理！.

### 安装插件

[](#安装插件)

```
### 安装前建议尝试更新所有组件
composer update --optimize-autoloader

### 安装稳定版本 ( 插件仅支持在 ThinkAdmin v6.1 中使用 )
composer require zoujingli/think-plugs-helper --optimize-autoloader --dev

### 安装测试版本（ 插件仅支持在 ThinkAdmin v6.1 中使用 ）
composer require zoujingli/think-plugs-helper dev-master --optimize-autoloader --dev
```

### 使用注释

[](#使用注释)

执行下面的指令即可实现模型字段注释。

```
php think xadmin:helper:model
```

### 卸载插件

[](#卸载插件)

```
composer remove zoujingli/think-plugs-helper
```

### 业务功能特性

[](#业务功能特性)

**核心开发工具：**

- **模型字段注释**: 根据数据表字段生成模型属性注释，提升代码可读性和 IDE 提示体验
- **索引结构辅助**: 读取数据库索引结构，为迁移和结构检查提供辅助
- **命令行集成**: 通过 ThinkPHP Command 注册开发辅助命令，适合开发环境按需使用

**技术特性：**

- **Apache2 开源协议**: 遵循 Apache2 开源协议，免费提供使用
- **开发专用**: 作为开发工具包，建议通过 `--dev` 安装
- **轻量级设计**: 无需独立数据表，减少生产环境依赖
- **易用性**: 简单的命令行接口，快速上手使用

### 插件数据

[](#插件数据)

该插件不创建独立数据表。

### 版权说明

[](#版权说明)

**ThinkPlugsHelper** 遵循 **Apache2** 开源协议发布，并提供免费使用。

本项目包含的第三方源码和二进制文件之版权信息另行标注。

版权所有 Copyright © 2014-2026 by ThinkAdmin () All rights reserved。

更多细节参阅 [LICENSE.txt](license)

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance85

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Total

3

Last Release

151d ago

PHP version history (2 changes)v1.0.0PHP &gt;7.1

v1.0.1PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4349951?v=4)[邹景立](/maintainers/zoujingli)[@zoujingli](https://github.com/zoujingli)

---

Top Contributors

[![zoujingli](https://avatars.githubusercontent.com/u/4349951?v=4)](https://github.com/zoujingli "zoujingli (17 commits)")

### Embed Badge

![Health badge](/badges/zoujingli-think-plugs-helper/health.svg)

```
[![Health](https://phpackages.com/badges/zoujingli-think-plugs-helper/health.svg)](https://phpackages.com/packages/zoujingli-think-plugs-helper)
```

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

5.1k5.2k](/packages/shlinkio-shlink)[oat-sa/tao-core

TAO core extension

66143.7k122](/packages/oat-sa-tao-core)[typo3/cms-install

TYPO3 CMS Install Tool - The Install Tool is used for installation, upgrade, system administration and setup tasks.

1812.3M495](/packages/typo3-cms-install)[typo3/cms-redirects

TYPO3 CMS Redirects - Create manual redirects, list existing redirects and automatically createredirects on slug changes.

167.4M80](/packages/typo3-cms-redirects)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)[rias/statamic-redirect

29335.6k](/packages/rias-statamic-redirect)

PHPackages © 2026

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