2017 © Pedro Peláez
 

library key-value-file

a simple file-backed persistent key-value store

image

jdodds/key-value-file

a simple file-backed persistent key-value store

  • Monday, January 7, 2013
  • by jdodds
  • Repository
  • 1 Watchers
  • 0 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

This is a very simple file-backed persistent key-value store for php., (*1)

Usage:, (*2)

$store = new JDodds\Storage\KeyValueFile('/path/to/save/in');

$store->attach('foo', 'bar');
$store['baz'] = 'quux';

$store->persist();

// ... sometime later

$store = new JDodds\Storage\KeyValueFile('/the/same/path/as/before');
$foo = $store['foo'];

$foo2 = $store->detach('foo');
$store->contains('foo') // false;

The Versions

07/01 2013

dev-master

9999999-dev https://github.com/jdodds/php-key-value-file

a simple file-backed persistent key-value store

  Sources   Download

BSD-2-Clause

The Development Requires

07/01 2013

v1.0.0

1.0.0.0 https://github.com/jdodds/php-key-value-file

a simple file-backed persistent key-value store

  Sources   Download

BSD-2-Clause

The Development Requires