2017 © Pedro Peláez
 

library doctrine-module-extension

Extension of Doctrine CLI tools

image

swissengine/doctrine-module-extension

Extension of Doctrine CLI tools

  • Friday, February 13, 2015
  • by SwissEngine
  • Repository
  • 3 Watchers
  • 9 Stars
  • 21,608 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 1 Versions
  • 13 % Grown

The README.md

SwissEngine\Tools\Doctrine\Extension

This small module aims at providing a simple way to add a few features (seamlessly) to the doctrine CLI tool (ZF2) such as the ability to specify the entity manager we want to use optionally., (*1)

php public/index.php orm:validate-schema --em=orm_custom, (*2)

Installation

Suggested installation method is through composer:, (*3)

php composer.phar require swissengine/doctrine-module-extension:dev-master

Setup

If you use Zend Framework 2, you can now enable this module in your application by adding it to config/application.config.php as SwissEngine\Tools\Doctrine\Extension., (*4)

Just make sure, in order for this to work, you have your doctrine factories set in your config file., (*5)

[
    'service_manager' => [
        'factories' => [
            'doctrine.entitymanager.orm_custom' => new \DoctrineORMModule\Service\EntityManagerFactory('orm_custom'),
        ],
    ]
];

The Versions

13/02 2015

dev-master

9999999-dev

Extension of Doctrine CLI tools

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Avatar SwissEngine

zf2 doctrine swissengine