定制 cakephp/migrations 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

cakephp/migrations

最新稳定版本:4.9.2

Composer 安装命令:

composer require cakephp/migrations

包简介

Database Migration plugin for CakePHP based on Phinx

README 文档

README

CI Coverage Status Software License Total Downloads

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

GitHub 信息

  • Stars: 136
  • Watchers: 32
  • Forks: 120
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04