PHPackages                             cakephp/migrations - 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. cakephp/migrations

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

cakephp/migrations
==================

Database Migration plugin for CakePHP

5.0.3(2mo ago)13912.0M—4.9%121[1 issues](https://github.com/cakephp/migrations/issues)[2 PRs](https://github.com/cakephp/migrations/pulls)20MITPHPPHP &gt;=8.2CI passing

Since Mar 22Pushed 1mo ago32 watchersCompare

[ Source](https://github.com/cakephp/migrations)[ Packagist](https://packagist.org/packages/cakephp/migrations)[ Docs](https://github.com/cakephp/migrations)[ RSS](/packages/cakephp-migrations/feed)WikiDiscussions 5.x Synced 1mo ago

READMEChangelog (10)Dependencies (14)Versions (127)Used By (20)

Migrations plugin for CakePHP
=============================

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

[![CI](https://github.com/cakephp/migrations/actions/workflows/ci.yml/badge.svg)](https://github.com/cakephp/migrations/actions/workflows/ci.yml)[![Coverage Status](https://camo.githubusercontent.com/7125151317fa11627f5fd1e0c3f2c58b7c2f7a7bdd161c2994e64a011df6d905/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f63616b657068702f6d6967726174696f6e732f352e782e7376673f7374796c653d666c61742d737175617265)](https://app.codecov.io/github/cakephp/migrations/tree/5.x)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.txt)[![Total Downloads](https://camo.githubusercontent.com/c2a224d023ceb1f59606a675bc5688948bd19ea48f5f0fed10ecc3748d7fe901/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63616b657068702f6d6967726174696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cakephp/migrations)

This is a Database Migrations system for CakePHP.

The plugin provides a complete database migration solution with support for creating, running, and managing migrations.

This branch is for use with CakePHP **5.x**. See [version map](https://github.com/cakephp/migrations/wiki#version-map) for details.

Installation
------------

[](#installation)

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

Run the following command

```
composer require cakephp/migrations
```

Configuration
-------------

[](#configuration)

You can load the plugin using the shell command:

```
bin/cake plugin load Migrations --only-cli

```

If you are using the PendingMigrations middleware, use:

```
bin/cake plugin load Migrations

```

Documentation
-------------

[](#documentation)

Full documentation of the plugin can be found on the [CakePHP Cookbook](https://book.cakephp.org/migrations/5/).

###  Health Score

77

—

ExcellentBetter than 100% of packages

Maintenance88

Actively maintained with recent releases

Popularity65

Solid adoption and visibility

Community52

Growing community involvement

Maturity93

Battle-tested with a long release history

 Bus Factor3

3 contributors hold 50%+ of commits

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 ~35 days

Recently: every ~4 days

Total

113

Last Release

64d ago

Major Versions

3.9.0 → 4.1.02023-09-23

3.x-dev → 4.9.02025-11-22

4.9.5 → 5.0.02026-01-21

4.9.6 → 5.0.22026-03-07

5.0.2 → 6.x-dev2026-03-12

PHP version history (7 changes)1.0.0PHP &gt;=5.4

1.7.0PHP &gt;=5.5.9

1.8.0PHP &gt;=5.6.0

3.0.0-beta1PHP &gt;=7.2.0

3.5.3PHP &gt;=7.4.0

4.0.0PHP &gt;=8.1

5.0.0PHP &gt;=8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23666?v=4)[CakePHP](/maintainers/cakephp)[@cakephp](https://github.com/cakephp)

---

Top Contributors

[![markstory](https://avatars.githubusercontent.com/u/24086?v=4)](https://github.com/markstory "markstory (688 commits)")[![dereuromark](https://avatars.githubusercontent.com/u/39854?v=4)](https://github.com/dereuromark "dereuromark (322 commits)")[![HavokInspiration](https://avatars.githubusercontent.com/u/5243386?v=4)](https://github.com/HavokInspiration "HavokInspiration (313 commits)")[![lorenzo](https://avatars.githubusercontent.com/u/37621?v=4)](https://github.com/lorenzo "lorenzo (150 commits)")[![saeideng](https://avatars.githubusercontent.com/u/8215801?v=4)](https://github.com/saeideng "saeideng (90 commits)")[![josegonzalez](https://avatars.githubusercontent.com/u/65675?v=4)](https://github.com/josegonzalez "josegonzalez (89 commits)")[![othercorey](https://avatars.githubusercontent.com/u/24221186?v=4)](https://github.com/othercorey "othercorey (61 commits)")[![LordSimal](https://avatars.githubusercontent.com/u/9105243?v=4)](https://github.com/LordSimal "LordSimal (54 commits)")[![ADmad](https://avatars.githubusercontent.com/u/142658?v=4)](https://github.com/ADmad "ADmad (36 commits)")[![ndm2](https://avatars.githubusercontent.com/u/5031606?v=4)](https://github.com/ndm2 "ndm2 (35 commits)")[![nicosp](https://avatars.githubusercontent.com/u/4110066?v=4)](https://github.com/nicosp "nicosp (23 commits)")[![ajibarra](https://avatars.githubusercontent.com/u/794722?v=4)](https://github.com/ajibarra "ajibarra (20 commits)")[![pabloelcolombiano](https://avatars.githubusercontent.com/u/23249541?v=4)](https://github.com/pabloelcolombiano "pabloelcolombiano (17 commits)")[![AD7six](https://avatars.githubusercontent.com/u/33387?v=4)](https://github.com/AD7six "AD7six (16 commits)")[![andrej-griniuk](https://avatars.githubusercontent.com/u/2722793?v=4)](https://github.com/andrej-griniuk "andrej-griniuk (16 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (14 commits)")[![dakota](https://avatars.githubusercontent.com/u/83255?v=4)](https://github.com/dakota "dakota (14 commits)")[![antograssiot](https://avatars.githubusercontent.com/u/4977112?v=4)](https://github.com/antograssiot "antograssiot (13 commits)")[![robertpustulka](https://avatars.githubusercontent.com/u/7437773?v=4)](https://github.com/robertpustulka "robertpustulka (13 commits)")[![rochamarcelo](https://avatars.githubusercontent.com/u/850748?v=4)](https://github.com/rochamarcelo "rochamarcelo (12 commits)")

---

Tags

cakephpcakephp-plugindatabase-migrationsphpclicakephpmigrations

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cakephp-migrations/health.svg)

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

###  Alternatives

[composer/installers

A multi-framework Composer library installer

1.4k136.0M6.0k](/packages/composer-installers)[cakephp/debug_kit

CakePHP Debug Kit

86514.0M138](/packages/cakephp-debug-kit)[cakephp/bake

Bake plugin for CakePHP

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

CakePHP Utility classes such as Inflector, String, Hash, and Security

12027.1M63](/packages/cakephp-utility)[cakephp/orm

CakePHP ORM - Provides a flexible and powerful ORM implementing a data-mapper pattern.

151242.6k70](/packages/cakephp-orm)[cakephp/database

Flexible and powerful Database abstraction library with a familiar PDO-like API

9724.6M33](/packages/cakephp-database)

PHPackages © 2026

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