[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8392":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":22,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":28,"readmeContent":29,"aiSummary":30,"trendingCount":16,"starSnapshotCount":16,"syncStatus":31,"lastSyncTime":32,"discoverSource":33},8392,"phinx","cakephp\u002Fphinx","cakephp","PHP Database Migrations for Everyone","https:\u002F\u002Fphinx.org",null,"PHP",4538,886,131,138,0,9,30.84,"MIT License",false,"0.x",true,[24,25,26,27],"database-migrations","migrations","php","php-database-migrations","2026-06-12 02:01:53","# [Phinx](https:\u002F\u002Fphinx.org): Simple PHP Database Migrations\n\n[![CI](https:\u002F\u002Fgithub.com\u002Fcakephp\u002Fphinx\u002Factions\u002Fworkflows\u002Fci.yml\u002Fbadge.svg?branch=0.x&event=push)](https:\u002F\u002Fgithub.com\u002Fcakephp\u002Fphinx\u002Factions\u002Fworkflows\u002Fci.yml)\n[![Code Coverage](https:\u002F\u002Fcodecov.io\u002Fgh\u002Fcakephp\u002Fphinx\u002Fbranch\u002Fmaster\u002Fgraph\u002Fbadge.svg)](https:\u002F\u002Fcodecov.io\u002Fgh\u002Fcakephp\u002Fphinx)\n[![Packagist Version](https:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Frobmorgan\u002Fphinx)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Frobmorgan\u002Fphinx)\n[![Minimum PHP Version](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fphp-%3E%3D%208.1-8892BF.svg)](https:\u002F\u002Fphp.net\u002F)\n![Packagist Downloads](https:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fdt\u002Frobmorgan\u002Fphinx)\n\n## Intro\n\nPhinx 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.\n\n**Check out [book.cakephp.org\u002Fphinx](https:\u002F\u002Fbook.cakephp.org\u002Fphinx) for the comprehensive documentation.**\n\n![phinxterm](https:\u002F\u002Fcloud.githubusercontent.com\u002Fassets\u002F178939\u002F3887559\u002Fe6b5e524-21f2-11e4-8256-0ba6040725fc.gif)\n\n### Features\n\n* Write database migrations using database agnostic PHP code.\n* Migrate up and down.\n* Migrate on deployment.\n* Seed data after database creation.\n* Get going in less than 5 minutes.\n* Stop worrying about the state of your database.\n* Take advantage of SCM features such as branching.\n* Integrate with any app.\n\n### Supported Adapters\n\nPhinx natively supports the following database adapters:\n\n* MySQL\n* PostgreSQL\n* SQLite\n* Microsoft SQL Server\n\n## Install & Run\n\nSee [version and branch overview](https:\u002F\u002Fgithub.com\u002Fcakephp\u002Fphinx\u002Fwiki#version-and-branch-overview) for branch and PHP compatibility.\n\n### Composer\n\nThe fastest way to install Phinx is to add it to your project using Composer (https:\u002F\u002Fgetcomposer.org\u002F).\n\n1. Install Composer:\n\n    ```\n    curl -sS https:\u002F\u002Fgetcomposer.org\u002Finstaller | php\n    ```\n\n1. Require Phinx as a dependency using Composer:\n\n    ```\n    php composer.phar require robmorgan\u002Fphinx\n    ```\n\n1. Install Phinx:\n\n    ```\n    php composer.phar install\n    ```\n\n1. Execute Phinx:\n\n    ```\n    php vendor\u002Fbin\u002Fphinx\n    ```\n\n### As a Phar\n\nYou can also use the Box application to build Phinx as a Phar archive (https:\u002F\u002Fbox-project.github.io\u002Fbox2\u002F).\n\n1. Clone Phinx from GitHub\n\n    ```\n    git clone https:\u002F\u002Fgithub.com\u002Fcakephp\u002Fphinx.git\n    cd phinx\n    ```\n\n1. Install Composer\n\n    ```\n    curl -s https:\u002F\u002Fgetcomposer.org\u002Finstaller | php\n    ```\n\n1. Install the Phinx dependencies\n\n    ```\n    php composer.phar install\n    ```\n\n1. Install Box:\n\n    ```\n    curl -LSs https:\u002F\u002Fbox-project.github.io\u002Fbox2\u002Finstaller.php | php\n    ```\n\n1. Create a Phar archive\n\n    ```\n    php box.phar build\n    ```\n\n## Documentation\n\nCheck out https:\u002F\u002Fbook.cakephp.org\u002Fphinx for the comprehensive documentation.\n\nOther translations include:\n\n * [Chinese](https:\u002F\u002Ftsy12321.gitbooks.io\u002Fphinx-doc\u002F) (Maintained by [@tsy12321](https:\u002F\u002Fgithub.com\u002Ftsy12321\u002Fphinx-doc))\n\n## Contributing\n\nPlease read the [CONTRIBUTING](CONTRIBUTING.md) document.\n\n## News & Updates\n\nFollow [@CakePHP](https:\u002F\u002Ftwitter.com\u002Fcakephp) on Twitter to stay up to date.\n\n## Limitations\n\n### PostgreSQL\n\n- Not able to set a unique constraint on a table (\u003Chttps:\u002F\u002Fgithub.com\u002Fcakephp\u002Fphinx\u002Fissues\u002F1026>).\n\n\n## Misc\n\n### Version History\n\nPlease read the [release notes](https:\u002F\u002Fgithub.com\u002Fcakephp\u002Fphinx\u002Freleases).\n\n### License\n\n(The MIT license)\n\nCopyright (c) 2017 Rob Morgan\n\nPermission 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\u002For sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE 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.\n","Phinx 是一个用于 PHP 应用程序的数据库迁移工具。它允许开发者使用与数据库无关的 PHP 代码编写迁移脚本，支持迁移上下操作、部署时迁移以及在创建数据库后填充数据等功能。Phinx 支持多种数据库适配器，包括 MySQL、PostgreSQL、SQLite 和 Microsoft SQL Server 等，这使得它能够轻松集成到不同的项目环境中。适用于需要高效管理数据库模式变更的应用场景，尤其是在团队协作开发中，Phinx 可以帮助保持数据库结构的一致性并简化版本控制流程。",2,"2026-06-11 03:17:42","top_language"]