relaxedws / replicator
This package is abandoned and no longer maintained.
No replacement package was suggested.
couchdb-replicator
1.4.0
2019-06-21 12:42 UTC
Requires
Requires (Dev)
- phpunit/phpunit: 4.8.*
This package is auto-updated.
Last update: 2024-12-29 05:10:16 UTC
README
couchdb-replicator
CouchDB Replicator implemented with PHP
Example usage
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();