2017 © Pedro Peláez
 

library doctrine-migrations-module

Doctrine Migrations module for Zend Framework 2

image

kenkataiwa/doctrine-migrations-module

Doctrine Migrations module for Zend Framework 2

  • Tuesday, June 12, 2018
  • by kenkataiwa
  • Repository
  • 1 Watchers
  • 1 Stars
  • 81 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 16 % Grown

The README.md

Doctrine Migrations Module for Zend Framework

Build Status Code Coverage Latest Stable Version Latest Unstable Version, (*1)

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., (*2)

Installation

Installation of this module uses composer. For composer documentation, please refer to getcomposer.org., (*3)

$ composer require kenkataiwa/doctrine-migrations-module

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

Configuring Migrations

To configure migrations with Doctrine module add the migrations in your configuration., (*5)

<?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, (*6)

The Versions