mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2026-06-07 20:48:09 +08:00
Standardize README files: update think-library header to 'ThinkLibrary for ThinkAdmin', bold numbered feature headings for clarity, and normalize punctuation/line endings across multiple plugin READMEs (think-plugs-account, think-plugs-center, think-plugs-helper, think-plugs-payment, think-plugs-wechat, think-plugs-wemall, think-plugs-worker, think-plugs-wuma) for consistent style and readability.
71 lines
3.0 KiB
Markdown
71 lines
3.0 KiB
Markdown
# ThinkPlugsHelper for ThinkAdmin
|
||
|
||
[](https://packagist.org/packages/zoujingli/think-plugs-helper)
|
||
[](https://packagist.org/packages/zoujingli/think-plugs-helper)
|
||
[](https://packagist.org/packages/zoujingli/think-plugs-helper)
|
||
[](https://packagist.org/packages/zoujingli/think-plugs-helper)
|
||
[](https://thinkadmin.top)
|
||
[](https://www.apache.org/licenses/LICENSE-2.0)
|
||
|
||
**ThinkPlugsHelper** 是为便捷 ThinkAdmin 开发而制做的工具包。
|
||
|
||
### 加入我们
|
||
|
||
我们的代码仓库已移至 **Github**,而 **Gitee** 则仅作为国内镜像仓库,方便广大开发者获取和使用。若想提交 **PR** 或 **ISSUE** 请在 [ThinkAdminDeveloper](https://github.com/zoujingli/ThinkAdminDeveloper) 仓库进行操作,如果在其他仓库操作或提交问题将无法处理!.
|
||
|
||
### 安装插件
|
||
|
||
```shell
|
||
### 安装前建议尝试更新所有组件
|
||
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
|
||
```
|
||
|
||
### 使用注释
|
||
|
||
执行下面的指令即可实现模型字段注释。
|
||
|
||
```shell
|
||
php think xadmin:helper:model
|
||
```
|
||
|
||
### 卸载插件
|
||
|
||
```shell
|
||
composer remove zoujingli/think-plugs-helper
|
||
```
|
||
|
||
### 业务功能特性
|
||
|
||
**核心开发工具:**
|
||
- **模型字段注释**: 自动生成数据库模型的字段注释,提升代码可读性和开发效率
|
||
- **开发辅助工具**: 提供便捷的开发命令和工具函数,简化 ThinkAdmin 开发流程
|
||
- **代码生成**: 支持自动生成标准的模型、控制器等代码模板
|
||
- **调试支持**: 提供开发环境下的调试工具和日志记录功能
|
||
- **文档生成**: 支持自动生成 API 文档和代码文档
|
||
|
||
**技术特性:**
|
||
- **Apache2 开源协议**: 遵循 Apache2 开源协议,免费提供使用
|
||
- **开发专用**: 作为开发工具包,仅在开发环境使用(--dev 参数)
|
||
- **轻量级设计**: 无需独立数据表,减少生产环境依赖
|
||
- **向后兼容**: 保持与现有 ThinkAdmin 版本的兼容性
|
||
- **易用性**: 简单的命令行接口,快速上手使用
|
||
|
||
### 插件数据
|
||
|
||
该插件未使用独立数据表;
|
||
|
||
### 版权说明
|
||
|
||
**ThinkPlugsHelper** 遵循 **Apache2** 开源协议发布,并提供免费使用。
|
||
|
||
本项目包含的第三方源码和二进制文件之版权信息另行标注。
|
||
|
||
版权所有 Copyright © 2014-2025 by ThinkAdmin (https://thinkadmin.top) All rights reserved。
|
||
|
||
更多细节参阅 [LICENSE.txt](license) |