cakephp/phinx has 4,546 GitHub stars and 880 forks. GitHot measured +2 in 7 days. Last checked 2026-11-11 04:08 UTC. Last push 2026-07-21.
誰でも使える PHP データベースマイグレーション
できること
- Write database migrations using database agnostic PHP code.
- Migrate up and down.
- Migrate on deployment.
- Seed data after database creation.
計測したスター増加
- 24時間
- 更新が遅れています
- 7日間
- +2
- 15日間
- 履歴を収集中
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルPhinx: Simple PHP Database Migrations
Intro
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 phinx.org for the comprehensive documentation.

Features
- 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.
Supported Adapters
Phinx natively supports the following database adapters:
- MySQL
- PostgreSQL
- SQLite
- Microsoft SQL Server
Install & Run
See version and branch overview for branch and PHP compatibility.
Composer
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 | phpRequire Phinx as a dependency using Composer:
php composer.phar require robmorgan/phinxInstall Phinx:
php composer.phar installExecute Phinx:
php vendor/bin/phinx
As a Phar
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 phinxInstall Composer
curl -s https://getcomposer.org/installer | phpInstall the Phinx dependencies
php composer.phar installInstall Box:
curl -LSs https://box-project.github.io/box2/installer.php | phpCreate a Phar archive
php box.phar build
Documentation
Check out https://phinx.org/docs for the comprehensive documentation.
Other translations include:
Contributing
Please read the CONTRIBUTING document.
News & Updates
Follow @CakePHP on Twitter to stay up to date.
Limitations
PostgreSQL
- Not able to set a unique constraint on a table (https://github.com/cakephp/phinx/issues/1026).
Misc
Version History
Please read the release notes.
License
(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.
関連プロジェクトを探す
Asabeneh/30-Days-Of-Python
30 Days of Python プログラミングチャレンジは、Python プログラミング言語を 30 日で学ぶためのステップバイステップのガイドです。このチャレンジは 100 日以上かかることもあります。自分のペースで進めてください。こちらの動画も役立つかもしれません: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
78,560 スターgrafana/grafana
オープンで組み合わせ可能なオブザーバビリティおよびデータ可視化プラットフォームです。Prometheus、Loki、Elasticsearch、InfluxDB、Postgres など、複数のソースからメトリクス、ログ、トレースを可視化できます。
77,830 スターredis/redis
リアルタイムのデータ駆動型アプリケーションを構築する開発者にとって、Redis は最も選ばれ、最速で、機能が最も豊富なキャッシュ、データ構造サーバー、ドキュメントおよびベクトルクエリエンジンです。
77,395 スターapache/superset
Apache Superset は、データ可視化とデータ探索のためのプラットフォームです。
75,473 スター