hyperf-plus / devtool
hyperf-plus-admin可选的开发工具插件
Installs: 2 328
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 1
Requires
- php: >=7.3
- ext-swoole: >=4.5
- nette/php-generator: ^3.3
Suggests
- hyperf/admin: Required to use AbstractAdminController
- hyperf/command: ^2.2.*
- hyperf/db-connection: ~2.2.*
- dev-master
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- dev-feature/class_tool
- dev-feature/cmx_socket
- dev-feature/connector1.0
- dev-feature/connector2.0
- dev-feature/dingding_event
- dev-feature/socket2.0
- dev-feature/title_desc
- dev-feature/user_label2.0
- dev-feature/version_update
- dev-hotfix/class_and_namespace_bug
This package is auto-updated.
Last update: 2024-10-27 06:44:14 UTC
README
hyperf 开发工具 gen:admin
安装
composer require hyperf-plus/devtool --dev
建好表后,需要先执行php bin/hyperf.php gen:model
表名 创建模型,
然后执行 php bin/hyperf.php gen:admin
模型名
-d (可选)控制器的简介 -N (可选)命名空间 默认 \App\Controller\Admin -f (可选)如果文件存在则会强制覆盖