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

ActiveCakephp-plugin

cakedc/migrations
=================

Migrations Plugin for CakePHP

2.6(6y ago)3391.1M↓11.6%156[2 PRs](https://github.com/CakeDC/migrations/pulls)20MITPHPPHP &gt;=5.6.0

Since Mar 13Pushed 4y ago34 watchersCompare

[ Source](https://github.com/CakeDC/migrations)[ Packagist](https://packagist.org/packages/cakedc/migrations)[ Docs](http://cakedc.com)[ RSS](/packages/cakedc-migrations/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (24)Used By (20)

CakeDC Migrations Plugin
========================

[](#cakedc-migrations-plugin)

[![Bake Status](https://camo.githubusercontent.com/22926563989675fa8b03318243fe99d21466fa23f0ee3d6b5f3288104a5d0987/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f43616b6544432f6d6967726174696f6e732e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/CakeDC/migrations)[![Downloads](https://camo.githubusercontent.com/6c9f870e638b9930489d7a8463d0f3fcb9991c93b23ac8e8f4133ea2cf92197c/68747470733a2f2f706f7365722e707567782e6f72672f43616b6544432f6d6967726174696f6e732f642f746f74616c2e706e67)](https://packagist.org/packages/CakeDC/migrations)[![Latest Version](https://camo.githubusercontent.com/c46bce2e5264e3abd03e24d7822cd72449314da8f4b2da06262c137c61849919/68747470733a2f2f706f7365722e707567782e6f72672f43616b6544432f6d6967726174696f6e732f762f737461626c652e706e67)](https://packagist.org/packages/CakeDC/migrations)

The **Migrations** plugin enables developers to quickly and easily manage and migrate between database schema versions.

As an application is developed, changes to the database may be required, and managing that in teams can get extremely difficult. The **Migrations** plugin enables you to share and coordinate database changes in an iterative manner, removing the complexity of handling these changes.

- **Console:** The console script allows you to run migrations up and down.
- **Installation:** Migrations can also be run programmatically via an installer script.
- **ORM:** The **Migrations** plugin makes use of the *CakePHP* ORM and supports all databases provided by the framework.

This is NOT a Backup Tool
-------------------------

[](#this-is-not-a-backup-tool)

We highly recommend to not run the **Migrations** plugin in a production environment directly *without* doing a backup first.

However, you can make use of the `before()` and `after()` callbacks in the migration files to add logic which triggers a backup script.

Requirements
------------

[](#requirements)

- CakePHP 2.5+ (We recomment latest 2.x)
- PHP 5.3.0+ (We recommend php 7+)

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

[](#documentation)

For documentation, as well as tutorials, see the [Docs](Docs/Home.md) directory of this repository.

Support
-------

[](#support)

For bugs and feature requests, please use the [issues](https://github.com/CakeDC/migrations/issues) section of this repository.

Commercial support is also available, [contact us](http://cakedc.com/contact) for more information.

Contributing
------------

[](#contributing)

This repository follows the [CakeDC Plugin Standard](http://cakedc.com/plugin-standard). If you'd like to contribute new features, enhancements or bug fixes to the plugin, please read our [Contribution Guidelines](http://cakedc.com/contribution-guidelines) for detailed instructions.

License
-------

[](#license)

Copyright 2007-2014 Cake Development Corporation (CakeDC). All rights reserved.

Licensed under the [MIT](http://www.opensource.org/licenses/mit-license.php) License. Redistributions of the source code included in this repository must retain the copyright notice found in each file.

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity59

Moderate usage in the ecosystem

Community48

Growing community involvement

Maturity68

Established project with proven stability

 Bus Factor5

5 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 ~138 days

Recently: every ~335 days

Total

18

Last Release

2460d ago

PHP version history (3 changes)2.3.0PHP &gt;=5.2.8

2.5.1PHP &gt;=5.3.0

2.6PHP &gt;=5.6.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/204531?v=4)[Cake Development Corporation](/maintainers/CakeDC)[@CakeDC](https://github.com/CakeDC)

---

Top Contributors

[![renan](https://avatars.githubusercontent.com/u/28046?v=4)](https://github.com/renan "renan (45 commits)")[![gmansilla](https://avatars.githubusercontent.com/u/477676?v=4)](https://github.com/gmansilla "gmansilla (42 commits)")[![ajibarra](https://avatars.githubusercontent.com/u/794722?v=4)](https://github.com/ajibarra "ajibarra (39 commits)")[![skie](https://avatars.githubusercontent.com/u/130799?v=4)](https://github.com/skie "skie (31 commits)")[![lorenzo](https://avatars.githubusercontent.com/u/37621?v=4)](https://github.com/lorenzo "lorenzo (29 commits)")[![ravage84](https://avatars.githubusercontent.com/u/625761?v=4)](https://github.com/ravage84 "ravage84 (29 commits)")[![steinkel](https://avatars.githubusercontent.com/u/151761?v=4)](https://github.com/steinkel "steinkel (25 commits)")[![andre-pdassis](https://avatars.githubusercontent.com/u/7216884?v=4)](https://github.com/andre-pdassis "andre-pdassis (10 commits)")[![joshuapaling](https://avatars.githubusercontent.com/u/145042?v=4)](https://github.com/joshuapaling "joshuapaling (9 commits)")[![predominant](https://avatars.githubusercontent.com/u/24568?v=4)](https://github.com/predominant "predominant (9 commits)")[![real34](https://avatars.githubusercontent.com/u/75968?v=4)](https://github.com/real34 "real34 (8 commits)")[![waldemarnt](https://avatars.githubusercontent.com/u/5835706?v=4)](https://github.com/waldemarnt "waldemarnt (8 commits)")[![yeliparra](https://avatars.githubusercontent.com/u/428410?v=4)](https://github.com/yeliparra "yeliparra (6 commits)")[![jameswatts](https://avatars.githubusercontent.com/u/403296?v=4)](https://github.com/jameswatts "jameswatts (5 commits)")[![sitedyno](https://avatars.githubusercontent.com/u/216721?v=4)](https://github.com/sitedyno "sitedyno (4 commits)")[![josegonzalez](https://avatars.githubusercontent.com/u/65675?v=4)](https://github.com/josegonzalez "josegonzalez (4 commits)")[![CauanCabral](https://avatars.githubusercontent.com/u/83092?v=4)](https://github.com/CauanCabral "CauanCabral (3 commits)")[![beporter](https://avatars.githubusercontent.com/u/637270?v=4)](https://github.com/beporter "beporter (3 commits)")[![andrej-griniuk](https://avatars.githubusercontent.com/u/2722793?v=4)](https://github.com/andrej-griniuk "andrej-griniuk (3 commits)")[![phpnut](https://avatars.githubusercontent.com/u/148097?v=4)](https://github.com/phpnut "phpnut (3 commits)")

---

Tags

cakephpmigrations

### Embed Badge

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

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

###  Alternatives

[cakephp/migrations

Database Migration plugin for CakePHP

13912.0M222](/packages/cakephp-migrations)[fotografde/cakephp-sms

SMS Plugin for CakePHP

1273.2k](/packages/fotografde-cakephp-sms)

PHPackages © 2026

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