Skip to content
This repository has been archived by the owner on May 12, 2023. It is now read-only.

kenkataiwa/DoctrineMigrationsModule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Doctrine Migrations Module for Zend Framework

Build Status Code Coverage Latest Stable Version Latest Unstable Version

Introduction

This module integrates the Doctrine Migrations library. into Zend Framework so that you can load data fixtures programmatically into the Doctrine ORM or ODM.

Installation

Installation of this module uses composer. For composer documentation, please refer to getcomposer.org.

$ composer require kenkataiwa/doctrine-migrations-module

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

Configuring Migrations

To configure migrations with Doctrine module add the migrations in your configuration.

<?php
return array(
    ...
    'doctrine' => array(
        'migrations' => array(
            'migrations_table' => 'migrations',
            'migrations_namespace' => 'Application',
            'migrations_directory' => './data/migrations',
        ),
    ),
    ...
);

Usage

Command Line

Access the Doctrine command line

Releases

No releases published

Packages

No packages published

Languages