PHP Database Migrations For Everyone

INSTALL NOW v0.10.8 VIEW ON Github

Why use Phinx?

Super easy to install

Most database migration tools are framework dependent, complicated, confusing to install/configure and a pain in the ass to write migrations for. In less than 5 minutes you can install Phinx, create and execute your first migration.

Write migrations in Pure PHP or SQL

Phinx supports migrations written in both PHP and SQL. Use the PHP syntax to make your migrations portable between different database vendors or hand-code advanced queries. It's your choice.

Full Documentation

Phinx has extensive documentation available at

Integrates with your Deploy Tool

As Phinx executes from the command-line, it is painless to integrate with your deploy, build or CI tool.

Completely Free

Phinx is and will always remain completely free, open-source software. Developers are encouraged to fork, hack and modify Phinx. If you use Phinx commercially then please consider making a donation or purchasing the screencast below.


Buy the introductory screencast and help support Phinx development. Its only $5 USD!


230mb MP4 Video DRM-Free. Duration: 16m51s.


Phinx has comprehensive documentation available at or check out the Getting Started guide. Alternatively you may email me directly.

 [email protected]