PHPackages                             jdodds/key-value-file - 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. [Database &amp; ORM](/categories/database)
4. /
5. jdodds/key-value-file

ActiveLibrary[Database &amp; ORM](/categories/database)

jdodds/key-value-file
=====================

a simple file-backed persistent key-value store

v1.0.0(13y ago)017BSD-2-ClausePHP

Since Jan 7Pushed 13y ago1 watchersCompare

[ Source](https://github.com/jdodds/php-key-value-file)[ Packagist](https://packagist.org/packages/jdodds/key-value-file)[ Docs](https://github.com/jdodds/php-key-value-file)[ RSS](/packages/jdodds-key-value-file/feed)WikiDiscussions master Synced 1w ago

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

This is a very simple file-backed persistent key-value store for php.

Usage:

```
$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;

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4902d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/75dc1a3964cf0ff4e2930972707e6dd86ed889a82ef3de6f65ce710d0cbf4487?d=identicon)[jdodds](/maintainers/jdodds)

---

Top Contributors

[![jdodds](https://avatars.githubusercontent.com/u/126290?v=4)](https://github.com/jdodds "jdodds (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jdodds-key-value-file/health.svg)

```
[![Health](https://phpackages.com/badges/jdodds-key-value-file/health.svg)](https://phpackages.com/packages/jdodds-key-value-file)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k116.5M113](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8361.6M87](/packages/propel-propel1)[mpociot/laravel-composite-key

Support composite keys in your laravel app.

3544.8k1](/packages/mpociot-laravel-composite-key)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
