PHPackages                             frankfoerster/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. [Database &amp; ORM](/categories/database)
4. /
5. frankfoerster/cakephp-migrations

ActiveCakephp-plugin[Database &amp; ORM](/categories/database)

frankfoerster/cakephp-migrations
================================

CakePHP Migrations Plugin

v1.0.0(11y ago)2144MITPHPPHP &gt;=5.3.0

Since Apr 29Pushed 11y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

[![Build Status](https://camo.githubusercontent.com/b814b1e64951443515199d003aa25c8f388bbb822f371e9079d1e927b6473dd5/68747470733a2f2f7472617669732d63692e6f72672f6672616e6b666f6572737465722f63616b657068702d6d6967726174696f6e732e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/frankfoerster/cakephp-migrations)

Migrations Plugin for CakePHP 2.3+
==================================

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

This migrations plugin is based on the work of "CakeDC/migrations":.

The main goals for the rewrite are:

- move the migration commands to their own functions "up" and "down"
- make all migration actions as atomic as possible to ease testing
- use PHP + CakePHP methods, models in your migrations
- no need for "before" or "after" callbacks since migrations are method calls
- remove migration mappings instead use file names with numeric and datetime prefixes + unique migration class names

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

[](#requirements)

PHP 5.3+ CakePHP 2.3+

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

[](#installation)

via composer:

```
composer require frankfoerster/cakephp-migrations:~1.0

```

In your `app/Config/bootstrap.php` add:

```
CakePlugin::load('Migrations', array('bootstrap' => false, 'routes' => false));

```

Usage via Shell
---------------

[](#usage-via-shell)

```
cd app
Console/cake Migrations.Migration migrate up
Console/cake Migrations.Migration migrate down
Console/cake Migrations.Migration migrate down 1

```

License
-------

[](#license)

Copyright (c) Frank Förster ([frankfoerster](https://github.com/frankfoerster))

Licensed under [The MIT License](https://github.com/frankfoerster/cakephp-migrations/blob/master/LICENSE)Redistributions of files must retain the above copyright notice.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

4037d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5e283cec64599004f56a995fa747ed73a01870b4131e73a62cbcdfc90db1109c?d=identicon)[frankfoerster](/maintainers/frankfoerster)

---

Top Contributors

[![frankfoerster](https://avatars.githubusercontent.com/u/3206331?v=4)](https://github.com/frankfoerster "frankfoerster (40 commits)")

---

Tags

pluginmigrationdatabasecakephpmigrations

### Embed Badge

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

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

###  Alternatives

[odan/phinx-migrations-generator

Migration generator for Phinx

235847.8k23](/packages/odan-phinx-migrations-generator)[dereuromark/cakephp-databaselog

A CakePHP plugin for storing and viewing application logs in the database

44165.0k2](/packages/dereuromark-cakephp-databaselog)[dragon-code/laravel-data-dumper

Adding data from certain tables when executing the `php artisan schema:dump` console command

3418.6k](/packages/dragon-code-laravel-data-dumper)[pixelstudio/wp-sync-db

WordPress plugin to sync database between different installs

472.5k1](/packages/pixelstudio-wp-sync-db)[imsamurai/cakephp-serializable-behaviour

Behavior for saving and reading serialized data from/into database

147.7k3](/packages/imsamurai-cakephp-serializable-behaviour)

PHPackages © 2026

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