dancras/groundwork
Composer 安装命令:
composer require dancras/groundwork
包简介
CLI tool for code generation from templates
关键字:
README 文档
README
CLI tool for code generation from templates.
Rather than providing code generation of classes to someone elses standard, groundwork gives you a tool to set up and use your own project specific code generation templates.
Install with composer.
{
"require-dev": {
"dancras/groundwork": "*"
}
}
Add a .groundwork folder to your project. Each subfolder is a groundwork "template". The only requirement is a run.php file.
To generate the code:
vendor/bin/groundwork create %template% "%fully qualified class%"
See the .groundwork folder of this project for a class generation example. Clone the project and try it out:
bin/groundwork create class "MyVendor\MyProject\MyClass"
统计信息
- 总下载量: 22
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-03-10