cakephp/migrations
最新稳定版本:4.9.2
Composer 安装命令:
composer require cakephp/migrations
包简介
Database Migration plugin for CakePHP based on Phinx
关键字:
README 文档
README
This is a Database Migrations system for CakePHP.
The plugin consists of a CakePHP CLI wrapper for the Phinx migrations library.
This branch is for use with CakePHP 5.x. See version map for details.
Installation
You can install this plugin into your CakePHP application using Composer.
Run the following command
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
Enabling the builtin backend
In a future release, migrations will be switching to a new backend based on the CakePHP ORM. We're aiming to be compatible with as many existing migrations as possible, and could use your feedback. Enable the new backend with:
// in app/config/app_local.php $config = [ // Other configuration 'Migrations' => ['backend' => 'builtin'], ];
Documentation
Full documentation of the plugin can be found on the CakePHP Cookbook.
统计信息
- 总下载量: 11.46M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 139
- 点击次数: 1
- 依赖项目数: 234
- 推荐数: 7
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04