jord-jd/json-key-value-store

A simple JSON based key value store

Fund package maintenance!
DivineOmega

Installs: 4

Dependents: 2

Suggesters: 0

Security: 0

Stars: 4

Watchers: 0

Forks: 2

Open Issues: 0

pkg:composer/jord-jd/json-key-value-store

v4.0.0 2026-02-14 22:35 UTC

This package is auto-updated.

Last update: 2026-02-14 22:35:52 UTC


README

Build Status Coverage Status StyleCI

A simple JSON based key value store.

Installation

This JSON Key Value Store package can be easily installed using Composer. Just run the following command from the root of your project.

composer require jord-jd/json-key-value-store

If you have never used the Composer dependency manager before, head to the Composer website for more information on how to get started.

Usage

Using the JSON Key Value Store is designed to be super simple.

Here is a basic usage example:

use JordJD\JsonKeyValueStore\JsonKeyValueStore;

$store = new JsonKeyValueStore('store.json.gz');

$store->set('key1', 'value123');
$store->set('key2', 'value456');
$store->delete('key2');

$value = $store->get('key1');

// $value = 'value123'