Phinx使你的php app进行数据迁移的过程变得异常轻松,在五分钟之内你就可以安装好Phinx 并进行数据迁移。
特性
安装
使用Composer 进行安装
| 
 1 
 | 
 curl -s https://getcomposer.org/installer | php 
 | 
2.把phinx当做一个依赖加入到你的composer.json
| 
 1 
2 
3 
4 
5 
 | 
 { 
    "require": { 
        "robmorgan/phinx": "*" 
    } 
} 
 | 
3.安装Phinx
| 
 1 
 | 
 php composer.phar install 
 | 
4.执行Phinx
| 
 1 
 | 
 php vendor/bin/phinx 
 | 
开始使用
这里是使用教程http://docs.phinx.org/en/latest/
github网址https://github.com/robmorgan/phinx
原文:http://www.cnblogs.com/php-rearch/p/7142394.html