Skip to content

jeqq/couchdb-replicator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

couchdb-replicator

CouchDB Replicator implemented with PHP

Example usage

<?php

require __DIR__ . '/vendor/autoload.php';

use Doctrine\CouchDB\CouchDBClient;
use Relaxed\Replicator\ReplicationTask;
use Relaxed\Replicator\Replicator;

$source = CouchDBClient::create(['dbname' => 'source']);
$target = CouchDBClient::create(['dbname' => 'target']);

$task = new ReplicationTask();
$replicator = new Replicator($source, $target, $task);

$response = $replicator->startReplication();

?>

About

CouchDB Replicator implemented with PHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%