Phinx: Simple PHP Database Migrations
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.
- 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.
Phinx natively supports the following database adapters:
- MySQL
- PostgreSQL
- SQLite
- Microsoft SQL Server
The fastest way to install Phinx is to add it to your project using Composer (https://getcomposer.org/).
-
Install Composer:
curl -sS https://getcomposer.org/installer | php
-
Require Phinx as a dependency using Composer:
php composer.phar require typrint/phinx
Check out https://book.cakephp.org/phinx for the comprehensive documentation.
Other translations include:
- Not able to set a unique constraint on a table (cakephp#1026).
Please read the release notes.
MIT