2017 © Pedro Peláez
 

library key-value-store-memory

Key-value memory store through a simple php array.

image

adammbalogh/key-value-store-memory

Key-value memory store through a simple php array.

  • Friday, November 6, 2015
  • by adammbalogh
  • Repository
  • 1 Watchers
  • 0 Stars
  • 337 Installations
  • PHP
  • 1 Dependents
  • 1 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 8 % Grown

The README.md

Key Value Memory Store

Author Build Status Coverage Status Quality Score Software License Packagist Version Total Downloads, (*1)

SensioLabsInsight, (*2)

Description

This library provides a layer to a key value memory store., (*3)

It uses a simple php array., (*4)

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

Installation

Install it through composer., (*6)

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

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

Usage

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

$adapter = new Adapter();

$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., (*8)

Toolset

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

Support

Support with Gittip, (*9)

The Versions

06/11 2015

dev-master

9999999-dev

Key-value memory store through a simple php array.

  Sources   Download

MIT

The Requires

 

The Development Requires

array store key value key-value key-value-memory

06/11 2015

0.5.2

0.5.2.0

Key-value memory store through a simple php array.

  Sources   Download

MIT

The Requires

 

The Development Requires

array store key value key-value key-value-memory

20/10 2014

0.5.1

0.5.1.0

Key-value memory store through a simple php array.

  Sources   Download

MIT

The Requires

 

The Development Requires

array store key value key-value key-value-memory

17/10 2014

0.5.0

0.5.0.0

Key-value memory store through a simple php array.

  Sources   Download

MIT

The Requires

 

The Development Requires

array store key value key-value key-value-memory