PHPackages                             elstc/cakephp-migration-manager - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. elstc/cakephp-migration-manager

ActiveCakephp-plugin[Framework](/categories/framework)

elstc/cakephp-migration-manager
===============================

Migration GUI plugin for CakePHP

v3.3.0(2mo ago)03.1k1MITPHPPHP &gt;=8.1CI passing

Since Oct 9Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/elstc/cakephp-migration-manager)[ Packagist](https://packagist.org/packages/elstc/cakephp-migration-manager)[ RSS](/packages/elstc-cakephp-migration-manager/feed)WikiDiscussions cake5 Synced 3d ago

READMEChangelog (10)Dependencies (6)Versions (20)Used By (0)

MigrationManager plugin for CakePHP
===================================

[](#migrationmanager-plugin-for-cakephp)

 [ ![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265) ](LICENSE.txt) [ ![Build Status](https://camo.githubusercontent.com/0e207ea7e101e9f045bd774d3b0634b8153ed92bd855d1f4594684d802e24119/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f656c7374632f63616b657068702d6d6967726174696f6e2d6d616e616765722f63692e796d6c3f7374796c653d666c61742d737175617265) ](https://github.com/elstc/cakephp-migration-manager/actions) [ ![Codecov](https://camo.githubusercontent.com/56fb2aa10d7857e9f0a271a0cea9a07e904632b3c5db2ec3a0262b876bd102cb/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f656c7374632f63616b657068702d6d6967726174696f6e2d6d616e616765722e7376673f7374796c653d666c61742d737175617265) ](https://codecov.io/gh/elstc/cakephp-migration-manager) [ ![Latest Stable Version](https://camo.githubusercontent.com/5020e2e199076a37e8d52f37f182c061ae69d000d41d558d883a1f95fe127745/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f656c7374632f63616b657068702d6d6967726174696f6e2d6d616e616765722e7376673f7374796c653d666c61742d737175617265) ](https://packagist.org/packages/elstc/cakephp-migration-manager)

This plugin provides a GUI for database migrations via a web browser.

IMPORTANT NOTICE
----------------

[](#important-notice)

This plugin allows running migrations directly from a web browser, which means some operations may delete or break data. You should install this only when CLI cannot be used due to server restrictions. Also, when installing, set up authentication and authorization appropriately so that unauthorized users cannot execute it.

Features
--------

[](#features)

- List of Application / Plugins migration statuses
- Run migrate / rollback a migration
- Show migration file

Version Map
-----------

[](#version-map)

CakePHP VersionPlugin VersionBranch5.x3.xcake54.x2.xcake43.x1.xcake3Installation
------------

[](#installation)

You can install this plugin into your CakePHP application using [composer](http://getcomposer.org).

The recommended way to install composer packages is:

```
composer require elstc/cakephp-migration-manager

```

Load the plugin by adding the following statement in your project's `Application::bootstrap()` (open `src/Application.php`):

```
\Cake\Core\Configure::write('Elastic/MigrationManager.baseController', \App\Controller\AppController::class);
$this->addPlugin('Elastic/MigrationManager');

```

NOTE: If you don't need to migrate, you should comment out `$this->addPlugin('Elastic/MigrationManager')` to disable the plugin.

Configure key: Elastic/MigrationManager.baseController
------------------------------------------------------

[](#configure-key-elasticmigrationmanagerbasecontroller)

Specify the base class of MigrationManager controller. The default is `\Cake\Controller\Controller`. Be sure to set it before loading the plugin because it will be used in the bootstrap of the plugin.

eg）Specify the base class to `App\Controller\Admin\BaseController`:

```
Configure::write('Elastic/MigrationManager.baseController', \App\Controller\Admin\BaseController::class);
```

Usage
-----

[](#usage)

You can use this plugin by accessing `https://{your-app-host}/migration-manager/migrations` from a browser.

### Allow rollback

[](#allow-rollback)

By default, you can't call the rollback action. If you want to enable rollback, add the following statement to your project's `config/bootstrap.php` file:

```
Configure::write('Elastic/MigrationManager.canRollback', true);
```

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance86

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~179 days

Recently: every ~279 days

Total

14

Last Release

74d ago

Major Versions

v1.3.2 → v2.0.02022-12-02

v2.1.0 → v3.0.02024-05-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/a3fe494e51e33958f5c8079669fd036dfee4c2e6b11f85f2249ba36c371986e3?d=identicon)[nojimage](/maintainers/nojimage)

---

Top Contributors

[![nojimage](https://avatars.githubusercontent.com/u/100564?v=4)](https://github.com/nojimage "nojimage (51 commits)")

---

Tags

cakephpcakephp-plugindatabase-migrations

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/elstc-cakephp-migration-manager/health.svg)

```
[![Health](https://phpackages.com/badges/elstc-cakephp-migration-manager/health.svg)](https://phpackages.com/packages/elstc-cakephp-migration-manager)
```

###  Alternatives

[cakephp/app

CakePHP skeleton app

3831.7M1](/packages/cakephp-app)[cakephp/bake

Bake plugin for CakePHP

11211.2M158](/packages/cakephp-bake)[cakephp/queue

Queue plugin for CakePHP

36257.9k12](/packages/cakephp-queue)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
