nicotec / doctrineauto-bundle
Generator Entity Doctrine for Mysql - doctrine reverse engineer auto
Package info
github.com/nicotec/NicotecDoctrineautoBundle
Type:symfony-bundle
pkg:composer/nicotec/doctrineauto-bundle
dev-master
2014-12-16 16:33 UTC
Requires
- php: >=5.3.2
- doctrine/doctrine-bundle: *
- symfony/framework-bundle: >=2.3
- twig/twig: *
This package is not auto-updated.
Last update: 2026-03-14 21:07:16 UTC
README
Generateur automatique des entités à partir de mysql pour doctrine2
Prise en charge:
- GedmoDoctrineExtension > stof.
- User and Role.
Installation
- Use Composer to download the library
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
Utilisation
http://.../app_dev.php/doctrineauto