idrinth/entity-generator
Composer 安装命令:
composer require idrinth/entity-generator
包简介
Generates entities from a given database.
README 文档
README
Generates entities from a given database and provides optional handling of them.
Checks
Example
<?php //generate entities for a schema named test and a schema named tester //existance an autoloader is expected $generator = new \De\Idrinth\EntityGenerator\EntityGenerator( new \PDO('mysql:host:localhost', 'root', ''), __DIR__.DIRECTORY_SEPARATOR.'{{schema}}', 'De\Idrinth\EntityGenerator\Test' ); $object->run(array('test','tester'));
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-03-08