tigerman/doctrine-generate-models-bundle

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

v0.1.3 2015-08-09 01:49 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