PHPackages                             chatbox/simple-kvs - 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. chatbox/simple-kvs

ActiveProject[Caching](/categories/caching)

chatbox/simple-kvs
==================

simple scalable KVS

026PHP

Since Mar 10Pushed 11y ago2 watchersCompare

[ Source](https://github.com/chatbox-inc/SimpleKVS)[ Packagist](https://packagist.org/packages/chatbox/simple-kvs)[ RSS](/packages/chatbox-simple-kvs/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

simpleKVS
=========

[](#simplekvs)

スケーラブルなKVS機能

機能
--

[](#機能)

- ドライバベースでストレージの種別を問わず使えるKVSモデル。
- データCRUDの抽象化。CRUD4種は一通り対応する。
- 直列化については考えない。SerializeとかJSONとか考えてたらInterfaceが冗長になる。

### 対象

[](#対象)

- 他のテーブル系とJOINしないような独立したデータ群
- 頻繁に挿入がおき、KVS形式でのloadが行われるもの
- 揮発性データ群。
- 個々のデータ属性に応じた細かいKPIが不要な物。
- スケーラビリティを確保したくても、リーンスタートでRedisは冗長なので、 それ的な機能をDBで仮モック運用しつつ、あとで何とか的なやつ。

### ドライバの種類

[](#ドライバの種類)

必要に応じて追加していく

- DB(Eloquent) : Redis ライクに有効期限のサポート。論理削除

Usage
-----

[](#usage)

```

$driver = new SimpleDB($config);

$kvs = new SimpleKVS($driver);

$model = $kvs->fetch($key);

echo $model->getKey();
echo $model->getValue();

$newValue = $kvs->set($newKey,$newValue);

$model->update($brandNewValue);
$model->delete();

```

###  Health Score

20

—

LowBetter than 12% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/d4341b789304ab56cc60e3891bbd51c6a4aa12e0e4ffff977eb3de385796cf01?d=identicon)[chatbox-inc](/maintainers/chatbox-inc)

### Embed Badge

![Health badge](/badges/chatbox-simple-kvs/health.svg)

```
[![Health](https://phpackages.com/badges/chatbox-simple-kvs/health.svg)](https://phpackages.com/packages/chatbox-simple-kvs)
```

###  Alternatives

[iazaran/smart-cache

Smart Cache is a caching optimization package designed to enhance the way your Laravel application handles data caching. It intelligently manages large data sets by compressing, chunking, or applying other optimization strategies to keep your application performant and efficient.

21114.2k](/packages/iazaran-smart-cache)[phpfastcache/phpssdb

PHP SSDB Driver for phpFastCache

14736.9k1](/packages/phpfastcache-phpssdb)[rapidwebltd/rw-file-cache

RW File Cache is a PHP File-based Caching Library. Its syntax is designed to closely resemble the PHP memcache extension.

15196.8k7](/packages/rapidwebltd-rw-file-cache)[yuzuru-s/redis-recommend

Wrapping Redis's sorted set APIs for specializing recommending operations.

392.9k](/packages/yuzuru-s-redis-recommend)[ichhabrecht/intcache

Turn uncachable page objects into cacheable links

193.9k](/packages/ichhabrecht-intcache)

PHPackages © 2026

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