Download the PHP package mstrychalski/doctrine-data-fixture-module without Composer
On this page you can find all versions of the php package mstrychalski/doctrine-data-fixture-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mstrychalski/doctrine-data-fixture-module
More information about mstrychalski/doctrine-data-fixture-module
Files in mstrychalski/doctrine-data-fixture-module
Package doctrine-data-fixture-module
Short Description Zend Framework 2 Module that provides Doctrine Data-Fixture functionality
License MIT
Homepage http://www.doctrine-project.org/
Informations about the package doctrine-data-fixture-module
DoctrineDataFixture Module for Zend Framework 2
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
This module is designed to work with a typical ZF2 MVC application.
Installation
Installation of this module uses composer. For composer documentation, please refer to getcomposer.org.
Then open config/application.config.php
and add DoctrineModule
, DoctrineORMModule
and
DoctrineDataFixtureModule
to your modules
Registering Fixtures
To register fixtures with Doctrine module add the fixtures in your configuration.
Usage
Command Line
Access the Doctrine command line as following
Import
All versions of doctrine-data-fixture-module with dependencies
zendframework/zend-modulemanager Version 2.*
zendframework/zend-eventmanager Version 2.*
zendframework/zend-servicemanager Version 2.*
doctrine/data-fixtures Version 1.0.*
doctrine/doctrine-orm-module Version ~0.7