PHP Migrations

Open-source PHP projects categorized as Migrations

Top 7 PHP Migration Projects

  • GitHub repo Phinx

    PHP Database Migrations for Everyone

    Project mention: Developing with git / database; workflow to "push live"? | reddit.com/r/learnprogramming | 2021-05-05

    To handle database migrations (changes to its structure) you write them and they are loaded on initialization. This is typically handled by an ORM or a framework though. I found this tool (phinx), which seems to be framework-agnostic.

  • GitHub repo Doctrine Migrations

    Doctrine Database Migrations Library

  • GitHub repo PHPMig

    Simple migrations system for php

  • GitHub repo Ruckusing

    Database migrations for PHP ala ActiveRecord Migrations with support for MySQL, Postgres, SQLite

  • GitHub repo request-migrations

    HTTP Request Migrations for API Versioning like Stripe

    Project mention: API versioning has no “right way” (2017) | news.ycombinator.com | 2021-04-26

    The key to doing migrations on the request is having the migrations live in single classes/files. It makes it very clean to have the app migrate from version 3 to version 12 with the 9 or so classes handing the response from one to the other.

    I made a package a few years ago in PHP/Laravel that focuses on this: https://github.com/tomschlick/request-migrations

  • GitHub repo phoenix

    Framework agnostic database migrations for PHP. (by lulco)

  • GitHub repo Migrations

    php 5.3 Migration Manager (by icomefromthenet)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-05-05.

Index

What are some of the best open-source Migration projects in PHP? This list will help you:

Project Stars
1 Phinx 4,148
2 Doctrine Migrations 3,958
3 PHPMig 545
4 Ruckusing 502
5 request-migrations 152
6 phoenix 95
7 Migrations 37