cakephp / migrations
Database Migration plugin for CakePHP based on Phinx
Installs: 9 431 219
Dependents: 223
Suggesters: 6
Security: 0
Stars: 138
Watchers: 36
Forks: 116
Open Issues: 37
Type:cakephp-plugin
Requires
- php: >=8.1
- cakephp/cache: ^5.0
- cakephp/orm: ^5.0
- robmorgan/phinx: ^0.16.0
Requires (Dev)
- cakephp/bake: dev-3.next
- cakephp/cakephp: dev-5.next as 5.1.0
- cakephp/cakephp-codesniffer: ^5.0
- phpunit/phpunit: ^10.5.5 || ^11.1.3
Suggests
- cakephp/bake: If you want to generate migrations.
- dereuromark/cakephp-ide-helper: If you want to have IDE suggest/autocomplete when creating migrations.
- 4.x-dev
- 4.4.2
- 4.4.1
- 4.4.0
- 4.3.2
- 4.3.1
- 4.3.0
- 4.2.0
- 4.1.1
- 4.1.0
- 4.0.2
- 4.0.1
- 4.0.0
- 3.x-dev
- 3.9.0
- 3.8.3
- 3.8.2
- 3.8.1
- 3.8.0
- 3.7.2
- 3.7.1
- 3.7.0
- 3.6.1
- 3.6.0
- 3.5.3
- 3.5.2
- 3.5.1
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.0
- 3.0.0-RC
- 3.0.0-beta3
- 3.0.0-beta2
- 3.0.0-beta1
- 2.x-dev
- 2.4.2
- 2.4.1
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.1
- 2.1.0
- 2.0.0
- 1.8.1
- 1.8.0
- 1.7.2
- 1.7.1
- 1.7.0
- 1.6.7
- 1.6.6
- 1.6.5
- 1.6.4
- 1.6.3
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.8
- 1.5.7
- 1.5.6
- 1.5.5
- 1.5.4
- 1.5.3
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4
- 1.3.x-dev
- 1.3.2
- 1.3.1
- 1.3
- 1.2.2
- 1.2.1
- 1.2
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.2
- 1.0.1
- 1.0.0
- dev-dependabot/github_actions/codecov/codecov-action-5
- dev-4.next
- dev-phinx-cleanup
- dev-fix-querybuilder-deprecation
- dev-4.x-force-autoid
- dev-4.1.1-release
This package is auto-updated.
Last update: 2024-11-21 03:14:52 UTC
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
Or you can manually add the loading statement in the src/Application.php file of your application:
public function bootstrap(): void { parent::bootstrap(); $this->addPlugin('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.