Skip to content

munavvard2/migrations

 
 

Repository files navigation

Migrations plugin for CakePHP

Software License Build Status Coverage Status Total Downloads

This is a Database Migrations system for CakePHP.

The plugin consists of a CakePHP shell wrapper for the Phinx migrations library.

This branch is for use with CakePHP 4.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()
{
    parent::bootstrap();
    $this->addPlugin('Migrations');
}

Additionally, you will need to configure the default database configuration in your config/app.php file.

Documentation

Full documentation of the plugin can be found on the CakePHP Cookbook.

About

CakePHP database migrations plugin

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 96.3%
  • Twig 3.5%
  • Dockerfile 0.2%