https://github.com/cakephp/migrations
CakePHP database migrations plugin
https://github.com/cakephp/migrations
cakephp cakephp-plugin database-migrations php
Last synced: 11 days ago
JSON representation
CakePHP database migrations plugin
- Host: GitHub
- URL: https://github.com/cakephp/migrations
- Owner: cakephp
- License: other
- Created: 2014-08-23T17:40:26.000Z (over 11 years ago)
- Default Branch: 5.x
- Last Pushed: 2026-02-12T01:31:15.000Z (17 days ago)
- Last Synced: 2026-02-12T11:37:57.705Z (17 days ago)
- Topics: cakephp, cakephp-plugin, database-migrations, php
- Language: PHP
- Homepage:
- Size: 4.2 MB
- Stars: 138
- Watchers: 32
- Forks: 121
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-cakephp - Migrations plugin - (DB) Migration plugin. (Migration)
README
# Migrations plugin for CakePHP
[](https://github.com/cakephp/migrations/actions/workflows/ci.yml)
[](https://app.codecov.io/github/cakephp/migrations/tree/5.x)
[](LICENSE.txt)
[](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
You can install this plugin into your CakePHP application using [Composer](https://getcomposer.org).
Run the following command
```sh
composer require cakephp/migrations
```
## 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
Full documentation of the plugin can be found on the [CakePHP Cookbook](https://book.cakephp.org/migrations/5/).