PHP code example of elstc / cakephp-migration-manager

1. Go to this page and download the library: Download elstc/cakephp-migration-manager library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

elstc / cakephp-migration-manager example snippets


Configure::write('Elastic/MigrationManager.baseController', \App\Controller\Admin\BaseController::class);

Configure::write('Elastic/MigrationManager.canRollback', true);

\Cake\Core\Configure::write('Elastic/MigrationManager.baseController', \App\Controller\AppController::class);
$this->addPlugin('Elastic/MigrationManager');