code-mine / zf-tactician-comandquery-generator
战术库的命令查询生成器
v2.0.3
2016-09-01 12:25 UTC
Requires
- php: >=5.5
- zendframework/zend-code: ~3.0
- zendframework/zend-mvc-console: ^1.1.9
This package is not auto-updated.
Last update: 2024-09-14 18:36:45 UTC
README
ZF2 模块用于 Tactician
为 ZF2 创建命令和处理器,支持通过 CLI。
使用方法
命令生成可以通过其他 ZF2 CLI 控制器来调用,例如 php public/index.php ...
generate command --module= --name=
--module
- 模块名称(例如:Application)
--name
- 命令名称(例如:User/Create, CreateUser, Domain/Create/User)
注意:命令名称参数使用哈希符号 (/) 来创建子目录。