nicotec / doctrineauto-bundle
Generator Entity Doctrine for Mysql - doctrine reverse engineer auto
Installs: 115
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.2
- doctrine/doctrine-bundle: *
- symfony/framework-bundle: >=2.3
- twig/twig: *
This package is not auto-updated.
Last update: 2024-06-22 13:07:50 UTC
README
NicotecDoctrineautoBundle
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