PHPackages                             mstrychalski/doctrine-data-fixture-module - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. mstrychalski/doctrine-data-fixture-module

ActiveLibrary[Database &amp; ORM](/categories/database)

mstrychalski/doctrine-data-fixture-module
=========================================

Zend Framework 2 Module that provides Doctrine Data-Fixture functionality

0.0.4(12y ago)017MITPHPPHP &gt;=5.3.3

Since Oct 9Pushed 8y ago1 watchersCompare

[ Source](https://github.com/mstrychalski/DoctrineDataFixtureModule)[ Packagist](https://packagist.org/packages/mstrychalski/doctrine-data-fixture-module)[ Docs](http://www.doctrine-project.org/)[ RSS](/packages/mstrychalski-doctrine-data-fixture-module/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (8)Versions (9)Used By (0)

DoctrineDataFixture Module for Zend Framework 2
===============================================

[](#doctrinedatafixture-module-for-zend-framework-2)

[![Build Status](https://camo.githubusercontent.com/df614da51a26d58e28246d1688b14386a7f17bcdbcc0b3b42ed60af261a25576/68747470733a2f2f7472617669732d63692e6f72672f486f756e64646f672f446f637472696e6544617461466978747572654d6f64756c652e706e67)](https://travis-ci.org/Hounddog/DoctrineDataFixtureModule)[![Coverage Status](https://camo.githubusercontent.com/11151462a81ecc05a1798986dc3eb6e50d8d8f3d4f34db7cbf85a4b238254d1f/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f486f756e64646f672f446f637472696e6544617461466978747572654d6f64756c652f62616467652e706e673f6272616e63683d6d6173746572)](https://coveralls.io/r/Hounddog/DoctrineDataFixtureModule)

Introduction
------------

[](#introduction)

The DoctrineDataFixtureModule module intends to integrate Doctrine 2 data-fixture with Zend Framework 2 quickly and easily. The following features are intended to work out of the box:

- Doctrine ORM support
- Multiple ORM entity managers
- Multiple DBAL connections
- Support reuse existing PDO connections in DBAL

Requirements
------------

[](#requirements)

This module is designed to work with a typical [ZF2 MVC application](https://github.com/zendframework/ZendSkeletonApplication).

Installation
------------

[](#installation)

Installation of this module uses composer. For composer documentation, please refer to [getcomposer.org](http://getcomposer.org/).

```
$ php composer.phar require hounddog/doctrine-data-fixture-module:0.0.*
```

Then open `config/application.config.php` and add `DoctrineModule`, `DoctrineORMModule` and `DoctrineDataFixtureModule` to your `modules`

#### Registering Fixtures

[](#registering-fixtures)

To register fixtures with Doctrine module add the fixtures in your configuration.

```
