2017 © Pedro Peláez
 

library key-value-store-memcache

Key-value memcache store through memcache extension.

image

tikaszvince/key-value-store-memcache

Key-value memcache store through memcache extension.

  • Sunday, October 26, 2014
  • by tikaszvince
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 1 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Key Value Memcache Store

Author Build Status Coverage Status Software License Packagist Version, (*1)

Description

This library provides a layer to a key value memcache store., (*2)

It uses the memcache extension., (*3)

Check out the abstract library to see the other adapters and the Api., (*4)

Installation

Install it through composer., (*5)

{
    "require": {
        "tikaszvince/key-value-store-memcache": "@stable"
    }
}

tip: you should browse the tikaszvince/key-value-store-memcache page to choose a stable version to use, avoid the @stable meta constraint., (*6)

Usage

<?php
use AdammBalogh\KeyValueStore\KeyValueStore;
use AdammBalogh\KeyValueStore\Adapter\MemcacheAdapter as Adapter;

$memcacheClient = new Memcache();
$memcacheClient->addServer('localhost', 11211);

$adapter = new Adapter($memcacheClient);

$kvs = new KeyValueStore($adapter);

$kvs->set('sample_key', 'Sample value');
$kvs->get('sample_key');
$kvs->delete('sample_key');

API

Please visit the API link in the abstract library., (*7)

Toolset

Key Value Server
✔ delete ✔ get ✔ flush
✔ expire ✔ set
✔ getTtl
✔ has
✔ persist

The Versions

26/10 2014

dev-master

9999999-dev

Key-value memcache store through memcache extension.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vince Tikász

memcache memcached nosql store key value key-value key-value-memcache

26/10 2014

0.5.0

0.5.0.0

Key-value memcache store through memcache extension.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vince Tikász

memcache memcached nosql store key value key-value key-value-memcache