PHPackages                             freedomsex/key-value-storage - 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. [Caching](/categories/caching)
4. /
5. freedomsex/key-value-storage

Abandoned → [a4sex/key-value-storage](/?search=a4sex%2Fkey-value-storage)ArchivedLibrary[Caching](/categories/caching)

freedomsex/key-value-storage
============================

A simple key-value storage based on PSR-6, Caching Interface.

v2.0.2(5y ago)29731MITPHPPHP ^7.2

Since Jul 27Pushed 5y ago1 watchersCompare

[ Source](https://github.com/freedomsex/key-value-storage)[ Packagist](https://packagist.org/packages/freedomsex/key-value-storage)[ RSS](/packages/freedomsex-key-value-storage/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (9)Used By (1)

Key-Value Storage
=================

[](#key-value-storage)

A simple key-value storage based on PSR-6, Caching Interface. Inspired by \\Memcached()

```
# Symfony config cache.yaml

framework:
  cache:
    default_memcached_provider: 'memcached://localhost'
    pools:
      memory:
        adapter: cache.adapter.memcached
        public: true
```

```
use FreedomSex\Services\KeyValueStorage;

// ...

public function __construct(KeyValueStorage $storage)
{
    $this->storage = $storage;
}

// ...

$storage->save($key, $value, $expires = null);
$storage->load($key, $default = null);

////
// See source
////

// touch, item, clear
// [CounterStorage trait] increment, decrement, count
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 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

Every ~61 days

Recently: every ~72 days

Total

8

Last Release

2105d ago

Major Versions

0.0.2 → 1.0.02019-12-11

1.0.3 → v2.0.12020-09-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/ef0022ba73eb67e483511c396c9377b8d8ebd9541c75a22e8cbaac876c882edd?d=identicon)[freedomsex](/maintainers/freedomsex)

---

Top Contributors

[![tebaly](https://avatars.githubusercontent.com/u/9466814?v=4)](https://github.com/tebaly "tebaly (35 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/freedomsex-key-value-storage/health.svg)

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

###  Alternatives

[beryllium/cachebundle

Provides an interface to Memcache for Symfony2 applications

33136.2k](/packages/beryllium-cachebundle)

PHPackages © 2026

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