PHP Database Migrations for Everyone
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
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.
Phinx natively supports the following database adapters:
See version and branch overview for branch and PHP compatibility.
The fastest way to install Phinx is to add it to your project using Composer (https://getcomposer.org/).
curl -sS https://getcomposer.org/installer | php
Require Phinx as a dependency using Composer:
php composer.phar require robmorgan/phinx
php composer.phar install
You can also use the Box application to build Phinx as a Phar archive (https://box-project.github.io/box2/).
Clone Phinx from GitHub
git clone https://github.com/cakephp/phinx.git cd phinx
curl -s https://getcomposer.org/installer | php
Install the Phinx dependencies
php composer.phar install
curl -LSs https://box-project.github.io/box2/installer.php | php
Create a Phar archive
php box.phar build
Check out https://book.cakephp.org/phinx for the comprehensive documentation.
Other translations include:
Please read the CONTRIBUTING document.
Follow @CakePHP on Twitter to stay up to date.
Please read the release notes.
(The MIT license)
Copyright (c) 2017 Rob Morgan
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.