PHP code example of adrian0350 / cakephp-replication
1. Go to this page and download the library: Download adrian0350/cakephp-replication 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/ */
adrian0350 / cakephp-replication example snippets
class DATABASE_CONFIG {
public $default = array(
'datasource' => 'CakeReplication.Database/MysqlReplication',
'persistent' => false,
'host' => 'localhost',
'login' => 'cakephpuser',
'password' => 'c4k3roxx!',
'database' => 'my_cakephp_project',
'prefix' => ''
);
}