busyphp/ide-model
最新稳定版本:v1.0.2
Composer 安装命令:
composer require busyphp/ide-model
包简介
用于生成BusyPHP的模型/模型字段注释或模型字段属性,以提高开发效率
README 文档
README
用于生成BusyPHP的模型/模型字段注释或模型字段属性,以提高开发效率
安装方法
composer require busyphp/ide-model
使用说明
全部扫描并生成
使用
-A指令即可自动扫描core/model目录下的所有模型/模型字段类进行生成
可配合-D添加自己的目录名称
php think bp:ide-model -A php think bp:ide-model -A -D customDir -D customDir1
指定目录扫描并生成
php think bp:ide-model -D userDir0 -D userDir1
指定类目生成
支持使用
.,/替代\\方便快输入类名称
php think bp:ide-model core.model.UserModel core.model.UserModelField php think bp:ide-model core/model/UserModel core/model/UserModelField php think bp:ide-model core\\model\\UserModel core\\model\\UserModelField
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2023-05-22