dev-master
9999999-devGenerator Entity Doctrine for Mysql - doctrine reverse engineer auto
MIT
The Requires
by Nicolas Longuet
generator mysql doctrine2
Generator Entity Doctrine for Mysql - doctrine reverse engineer auto
Generateur automatique des entités à partir de mysql pour doctrine2, (*1)
Prise en charge: * GedmoDoctrineExtension > stof. * User and Role., (*2)
1) Use Composer to download the library, (*3)
php composer.phar require nicotec/doctrineauto-bundle
// app/AppKernel.php public function registerBundles() { return array( // ... if (in_array($this->getEnvironment(), array('dev', 'test'))) { $bundles[] = new Nicotec\DoctrineautoBundle\NicotecDoctrineautoBundle(); } // ... ); }
// app/config/routing_dev.yml nicotec_doctrineauto: resource: "@NicotecDoctrineautoBundle/Controller/" type: annotation prefix: /doctrineauto
// app/config.yml #exemple parameters: generator: default_mapping: default mappings: default: bdd_namespace: Bo\AdminBundle security: entity: Superuser property: username superclass: 1 config: bdd_namespace: Bo\SuperBundle security: entity: User property: username superclass: 1 table_ignores: # - user # - role mail: bdd_namespace: Bo\MailerBundle superclass: 1
http://.../app_dev.php/doctrineauto, (*4)
Generator Entity Doctrine for Mysql - doctrine reverse engineer auto
MIT
generator mysql doctrine2