Database Migration plugin for CakePHP based on Phinx

Installs: 4 317 965

Dependents: 168

Suggesters: 4

Security: 0

Stars: 113

Watchers: 44

Forks: 94

Open Issues: 30


3.0.0 2020-05-10 22:26 UTC


Software License Build Status Coverage Status Total Downloads

This is a Database Migrations system for CakePHP.

The plugin consists of a CakePHP shell wrapper for the Phinx migrations library.

This branch is for use with CakePHP 4.x. See version map for details.


You can install this plugin into your CakePHP application using Composer.

Run the following command

composer require cakephp/migrations


You can load the plugin using the shell command:

bin/cake plugin load Migrations

Or you can manually add the loading statement in the src/Application.php file of your application:

public function bootstrap()

Additionally, you will need to configure the default database configuration in your config/app.php file.


Full documentation of the plugin can be found on the CakePHP Cookbook.