tigerman/doctrine-generate-models-bundle

Symfony2 bundle to generate model classes from your mapping information from YAML.

Installs: 142

Dependents: 0

Stars: 1

Watchers: 3

Forks: 0

Open Issues: 0

Type: symfony-bundle

v0.1.4 2015-10-23 13:06 UTC

README

Symfony2 bundle to generate model classes from your mapping information from YAML.

Installation (Composer):

Add the following dependencies to your projects composer.json file:

{
    "require": {
        "tigerman/doctrine-generate-models-bundle": "*"
    }
}

Finally, be sure to enable the bundle in AppKernel.php by including the following:

// app/AppKernel.php
public function registerBundles()
{
    $bundles = array(
        //...
        new tigerman\DoctrineGenerateModelsBundle\DoctrineGenerateModelsBundle(),
    );
}

Usage:

php app/console doctrine:generate:models