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

This package is auto-updated.

Last update: 2024-06-29 02:52:39 UTC


README

DlcDoctrine

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

  1. Install the DlcBase ZF2 module by cloning it into ./vendor/.
  2. Clone this project into your ./vendor/ directory.

With composer

  1. Add this project and DlcDoctrine in your composer.json:

    "require": {
        "dl-commons/dlc-doctrine": "dev-master"
    }
  2. Now tell composer to download DlcDoctrine by running the command:

    $ php composer.phar update
    

Post installation

  1. Enabling it in your application.config.phpfile.

    <?php
    return array(
        'modules' => array(
            // ...
            'DlcBase',
            'DlcDoctrine',
        ),
        // ...
    );
  2. Add the [Add EventSubscriber to ResolveTargetEntityListener]" (https://github.com/dlabas/doctrine2/commit/6fbd7adc2a6b93cc6eeb6cedec49daef9f469db3) bugfix to your doctrine 2 module