2017 © Pedro PelĂĄez
 

symfony-bundle doctrineauto-bundle

Generator Entity Doctrine for Mysql - doctrine reverse engineer auto

image

nicotec/doctrineauto-bundle

Generator Entity Doctrine for Mysql - doctrine reverse engineer auto

  • Tuesday, December 16, 2014
  • by nicotec
  • Repository
  • 0 Watchers
  • 0 Stars
  • 109 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

NicotecDoctrineautoBundle

Generateur automatique des entités à partir de mysql pour doctrine2, (*1)

Prise en charge: * GedmoDoctrineExtension > stof. * User and Role., (*2)

Installation

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

Utilisation

http://.../app_dev.php/doctrineauto, (*4)

The Versions

16/12 2014

dev-master

9999999-dev

Generator Entity Doctrine for Mysql - doctrine reverse engineer auto

  Sources   Download

MIT

The Requires

 

by Nicolas Longuet

generator mysql doctrine2