Skip to content
/ phinx Public
forked from cakephp/phinx

Database Migrations for TyPrint

License

Notifications You must be signed in to change notification settings

typrint/phinx

 
 

Repository files navigation

Phinx: Simple PHP Database Migrations

Build Status Code Coverage Packagist Version Minimum PHP Version Packagist Downloads

Intro

Phinx makes it ridiculously easy to manage the database migrations for your PHP app. In less than 5 minutes, you can install Phinx and create your first database migration. Phinx is just about migrations without all the bloat of a database ORM system or framework.

Check out book.cakephp.org/phinx for the comprehensive documentation.

phinxterm

Features

  • Write database migrations using database agnostic PHP code.
  • Migrate up and down.
  • Migrate on deployment.
  • Seed data after database creation.
  • Get going in less than 5 minutes.
  • Stop worrying about the state of your database.
  • Take advantage of SCM features such as branching.
  • Integrate with any app.

Supported Adapters

Phinx natively supports the following database adapters:

  • MySQL
  • PostgreSQL
  • SQLite
  • Microsoft SQL Server

Install & Run

Composer

The fastest way to install Phinx is to add it to your project using Composer (https://getcomposer.org/).

  1. Install Composer:

    curl -sS https://getcomposer.org/installer | php
    
  2. Require Phinx as a dependency using Composer:

    php composer.phar require typrint/phinx
    

Documentation

Check out https://book.cakephp.org/phinx for the comprehensive documentation.

Other translations include:

Limitations

PostgreSQL

  • Not able to set a unique constraint on a table (cakephp#1026).

Misc

Version History

Please read the release notes.

License

MIT

About

Database Migrations for TyPrint

Resources

License

Stars

Watchers

Forks

Languages

  • PHP 100.0%