sunsgne/webman-make-models

webman console make models

0.0.8 2023-06-15 07:11 UTC

This package is auto-updated.

Last update: 2024-10-14 01:51:39 UTC


README

sunsgne

sunsgne/webman-make-models

🐬 Webman's Generate a model file from the command line 🐬

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

webman-make-models

一行命令根据表名生成对应的models文件,如果文件存在则读取表信息同步到models的注释上

安装

composer require sunsgne/webman-make-models

使用

./webman make:models `$tableName`

返回示例

app\model\Users 同步成功