dl-commons / dlc-doctrine
Some (abstract) classes and extensions for the Zend Framework 2 Module for Doctrine ORM.
dev-master
2015-04-18 01:24 UTC
Requires
- php: >=5.3.3
- dl-commons/dlc-base: dev-master
- doctrine/doctrine-orm-module: 0.*
- zendframework/zendframework: >2.1.3
This package is auto-updated.
Last update: 2024-11-29 03:48:52 UTC
README
Some (abstract) classes and extensions for the Zend Framework 2 Module for Doctrine ORM.
This module is currently under heavy development.
Requirements
Installation
Main Setup
By cloning project
- Install the DlcBase ZF2 module
by cloning it into
./vendor/
. - Clone this project into your
./vendor/
directory.
With composer
-
Add this project and DlcDoctrine in your composer.json:
"require": { "dl-commons/dlc-doctrine": "dev-master" }
-
Now tell composer to download DlcDoctrine by running the command:
$ php composer.phar update
Post installation
-
Enabling it in your
application.config.php
file.<?php return array( 'modules' => array( // ... 'DlcBase', 'DlcDoctrine', ), // ... );
-
Add the [Add EventSubscriber to ResolveTargetEntityListener]" (https://github.com/dlabas/doctrine2/commit/6fbd7adc2a6b93cc6eeb6cedec49daef9f469db3) bugfix to your doctrine 2 module