PHPackages                             adammbalogh/key-value-store-replicator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. adammbalogh/key-value-store-replicator

ActiveLibrary

adammbalogh/key-value-store-replicator
======================================

Key-value replicator adapter.

0.5.0(11y ago)031MITPHPPHP &gt;=5.4.0

Since Oct 22Pushed 11y ago1 watchersCompare

[ Source](https://github.com/adammbalogh/key-value-store-replicator)[ Packagist](https://packagist.org/packages/adammbalogh/key-value-store-replicator)[ RSS](/packages/adammbalogh-key-value-store-replicator/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (6)Versions (2)Used By (0)

Key Value Replicator Adapter
============================

[](#key-value-replicator-adapter)

[![Author](https://camo.githubusercontent.com/9582c654a130ad6ba8d12bead14973a97730a3993f41d229eb56691a0626ceed/687474703a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d406164616d6d62616c6f67682d626c75652e7376673f7374796c653d666c6174)](https://twitter.com/adammbalogh)[![Build Status](https://camo.githubusercontent.com/d270cb6f7dacc139ed9d64415fa34a20eee20df2365ec830ae79d2e7547498cc/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6164616d6d62616c6f67682f6b65792d76616c75652d73746f72652d7265706c696361746f722f6d61737465722e7376673f7374796c653d666c6174)](https://travis-ci.org/adammbalogh/key-value-store-replicator)[![Coverage Status](https://camo.githubusercontent.com/b4490a1c0b5a95be92f568f693922d37b670a4ef2762fcc1b48e4797e73bf5f6/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6164616d6d62616c6f67682f6b65792d76616c75652d73746f72652d7265706c696361746f722e7376673f7374796c653d666c6174)](https://coveralls.io/r/adammbalogh/key-value-store-replicator)[![Quality Score](https://camo.githubusercontent.com/b94501ef94c7b46b901c5eeaec4f9c4031bc218c08f21bd9df9741906c6aa773/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6164616d6d62616c6f67682f6b65792d76616c75652d73746f72652d7265706c696361746f722e7376673f7374796c653d666c6174)](https://scrutinizer-ci.com/g/adammbalogh/key-value-store-replicator)[![Software License](https://camo.githubusercontent.com/f48f8d6cf609f5b181b9c3218a85175fe8a5809c7ea400347f39697a5d55065d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c6174)](LICENSE)[![Packagist Version](https://camo.githubusercontent.com/81f1e0a8a11c0d1b8437bd81c7e8b425752610ac6a013f44893e062ad7a57f84/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6164616d6d62616c6f67682f6b65792d76616c75652d73746f72652d7265706c696361746f722e7376673f7374796c653d666c6174)](https://packagist.org/packages/adammbalogh/key-value-store-replicator)[![Total Downloads](https://camo.githubusercontent.com/88d8d652a6e4a6fc56c854406df814e8be725d79001ff185cd8bffa3bc4a4404/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6164616d6d62616c6f67682f6b65792d76616c75652d73746f72652d7265706c696361746f722e7376673f7374796c653d666c6174)](https://packagist.org/packages/adammbalogh/key-value-store-replicator)

[![SensioLabsInsight](https://camo.githubusercontent.com/f67a059d3eb5324c78d5da976da68c2bcc5e1a33b63e9e825631074cb245b5e0/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f37383435346534322d633430382d346233642d396635612d3532613565393763623766312f736d616c6c2e706e67)](https://insight.sensiolabs.com/projects/78454e42-c408-4b3d-9f5a-52a5e97cb7f1)

Description
===========

[](#description)

This library provides a layer to replicate commands on key value stores.

All the read (`get`, `getTtl`, `has`) operations run only on the source adapter, others on both.

Check out the [abstract library](https://github.com/adammbalogh/key-value-store) to see the other adapters and the Api.

Installation
============

[](#installation)

Install it through composer.

```
{
    "require": {
        "adammbalogh/key-value-store-replicator": "@stable"
    }
}
```

**tip:** you should browse the [`adammbalogh/key-value-store-replicator`](https://packagist.org/packages/adammbalogh/key-value-store-replicator)page to choose a stable version to use, avoid the `@stable` meta constraint.

Usage
=====

[](#usage)

```
