PHPackages                             valorin/zf2-phinx-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. valorin/zf2-phinx-module

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

valorin/zf2-phinx-module
========================

Integrates the Phinx database migration tool into a ZF2 application.

v0.1.1(13y ago)215.3k2[1 issues](https://github.com/valorin/zf2-phinx-module/issues)[1 PRs](https://github.com/valorin/zf2-phinx-module/pulls)BSD-3-ClausePHP

Since Dec 12Pushed 13y ago3 watchersCompare

[ Source](https://github.com/valorin/zf2-phinx-module)[ Packagist](https://packagist.org/packages/valorin/zf2-phinx-module)[ Docs](https://github.com/valorin/zf2-phinx-module)[ RSS](/packages/valorin-zf2-phinx-module/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (6)Used By (0)

ZF2 Phinx Module
================

[](#zf2-phinx-module)

*Created by [Stephen Rees-Carter](http://stephen.rees-carter.net/), version 0.1.1.* [![Build Status](https://camo.githubusercontent.com/2fa5a16022634d8f3da8751fffac12bf6a0a5c45558341ad904b0cc77fed6916/68747470733a2f2f7472617669732d63692e6f72672f76616c6f72696e2f7a66322d7068696e782d6d6f64756c652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/valorin/zf2-phinx-module)

[ZF2](http://framework.zend.com/) module to integrate the [Phinx database migration tool](https://github.com/robmorgan/phinx) into a ZF2 application console. It provides a way to sync the application DB connections with Phinx, and run each of the Phinx commands easily.

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

[](#installation)

The easiest way to install the module is using [Composer](http://getcomposer.org/).

1. Install composer:

    ```
    curl -s https://getcomposer.org/installer | php

    ```
2. Add Phinx as a dependency to your `composer.json` file:

    ```
    ./composer.phar require "valorin/zf2-phinx-module":"0.*"

    ```
3. Update `./config/application.config.php` and add enable the `PhinxModule`:

    ```
