globtec/doctrine-generator
Composer 安装命令:
composer require globtec/doctrine-generator
包简介
Generator to Doctrine ORM 2
README 文档
README
A PHP package customized to generate entity and repository classes of a project that uses Doctrine ORM in a command-line interface.
Installation
composer require globtec/doctrine-generator --dev
Usage
Before, you need create a PHP file named generator.php with the following code:
require_once 'vendor/autoload.php'; // TODO: Add an instance of the EntityManager and assigns in a variable named $em Generator\Application::run($em);
To view a list of all available commands, you may use the list command:
php generator.php list
To view all arguments and options, you may use the help command:
php generator.php doctrine:generate --help
统计信息
- 总下载量: 389
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-08-01