idrinth / entity-generator
Generates entities from a given database.
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/idrinth/entity-generator
Requires (Dev)
- codacy/coverage: dev-master
- phpunit/phpunit: *
This package is auto-updated.
Last update: 2025-09-24 07:29:29 UTC
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'));