2017 © Pedro Peláez
 

library zfphinx

Zend Framework 3 module that provides integration of Phinx library

image

alexbuyanow/zfphinx

Zend Framework 3 module that provides integration of Phinx library

  • Monday, August 8, 2016
  • by alexbuyanow
  • Repository
  • 1 Watchers
  • 1 Stars
  • 2,132 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 1 % Grown

The README.md

ZfPhinx

Build Status Scrutinizer Code Quality Code Coverage, (*1)

ZF3 module, integrated Phinx, (*2)

Phinx is easy database migration manager, (*3)

Dependencies

Installation

  1. Install Composer:
    curl -sS https://getcomposer.org/installer | php
  1. Require ZfPhinx as a dependency using Composer:
    php composer.phar require alexbuyanow/zfphinx
  1. Install Phinx:
    php composer.phar install
  1. Open my/project/directory/configs/application.config.php and add the following key to your modules:
    'ZfPhinx',

Configuration

Configure 'zfphinx' section in your application config, (*4)

    'zfphinx' => [
        'paths' => [
            'migrations' => '<path to your migration directory>',
            'seeds'      => '<path to your seed directory>',
        ],

        'environments' => [
            'default_migration_table' => '<DB table for migrations journal. Default is phinxlog>',
            'default_database'        => '<Unnecessary default environment key>',
            '<environment key 1>'     => [
                'db_adapter' => '<DB adapter name from service locator>',
            ],
            ...
            '<environment key n>'     => [
                'db_adapter' => '<DB adapter name from service locator>',
            ],
        ],
    ],

Usage

Basic usage via console (from your project root), (*5)

    php public/index.php zfphinx <command> <flags>

List of available commands, (*6)

php public/index.php zfphinx, (*7)

The Versions

08/08 2016

dev-master

9999999-dev https://github.com/alexbuyanow/ZfPhinx

Zend Framework 3 module that provides integration of Phinx library

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Alexey Buyanow

database migration zend framework zf phinx

08/08 2016

0.1.1

0.1.1.0 https://github.com/alexbuyanow/ZfPhinx

Zend Framework 3 module that provides integration of Phinx library

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Alexey Buyanow

database migration zend framework zf phinx

29/07 2016

0.1.0

0.1.0.0 https://github.com/alexbuyanow/ZfPhinx

Zend Framework 3 module that provides integration of Phinx library

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Alexey Buyanow

database migration zend framework zf phinx