ke / thinkphp-model-make
There is no license information available for the latest version (1.0.3) of this package.
thinkphp model生成器
1.0.3
2020-11-17 03:08 UTC
Requires
- php: >=7.0.0
- symfony/string: ^5.1
This package is auto-updated.
Last update: 2025-03-05 16:46:26 UTC
README
thinkphp model生成器
安装
composer require ke/thinkphp-model-make
## 或者使用最新版本的
composer require ke/thinkphp-model-make dev-master
注册命令
// app/command.php
return [
\ke\model\MakeCommand::class,
];
使用
php think ke:model:make --table=project
参数说明
参数 | 必须 | 说明 |
---|---|---|
table | 是 | 表名,无需前缀,会自动引入database的前缀 |
namespace | 否 | 命名空间;只需输入子空间名 |
dir | 否 | 输出目录;默认为common |