PHPackages                             fratac/laravel-distributed-kv - 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. fratac/laravel-distributed-kv

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

fratac/laravel-distributed-kv
=============================

Distributed key-value registry between Laravel applications using only PHP/Laravel.

v1.0.15(3mo ago)031MITPHPPHP &gt;=8.1

Since Dec 26Pushed 3mo agoCompare

[ Source](https://github.com/fratac/laravel-distributed-kv)[ Packagist](https://packagist.org/packages/fratac/laravel-distributed-kv)[ Docs](https://github.com/fratac/laravel-distributed-kv)[ RSS](/packages/fratac-laravel-distributed-kv/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (13)Used By (0)

[![Tests](https://github.com/fratac/laravel-distributed-kv/actions/workflows/ci.yml/badge.svg)](https://github.com/fratac/laravel-distributed-kv/actions/workflows/ci.yml/badge.svg)[![Release](https://github.com/fratac/laravel-distributed-kv/actions/workflows/semantic-release.yml/badge.svg)](https://github.com/fratac/laravel-distributed-kv/actions/workflows/semantic-release.yml/badge.svg)[![Packagist](https://camo.githubusercontent.com/9cb3d10b188f1ac6e76f73c6ea4d6802fef4378245337f4650f2873a5f612f9f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6672617461632f6c61726176656c2d64697374726962757465642d6b76)](https://camo.githubusercontent.com/9cb3d10b188f1ac6e76f73c6ea4d6802fef4378245337f4650f2873a5f612f9f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6672617461632f6c61726176656c2d64697374726962757465642d6b76)[![License](https://camo.githubusercontent.com/da11d42a368a5cd449053dfbb652430ccab120de0f9f5267968a943c0bf18a4e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6672617461632f6c61726176656c2d64697374726962757465642d6b76)](https://camo.githubusercontent.com/da11d42a368a5cd449053dfbb652430ccab120de0f9f5267968a943c0bf18a4e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6672617461632f6c61726176656c2d64697374726962757465642d6b76)

Laravel Distributed KV (key/value)
==================================

[](#laravel-distributed-kv-keyvalue)

**Distributed key–value registry for Laravel applications — no Redis required.**
Sync configuration, feature flags, and shared state across multiple Laravel apps using only PHP, HTTP APIs, and scheduled commands.

---

🚀 Features
----------

[](#-features)

- 🔄 **Distributed key/value store** shared across multiple Laravel applications
- 🌐 **Sync via HTTP API** (pull + push)
- 🕒 **Cron‑based synchronization** (`php artisan kv:sync`)
- 🧠 **Versioning + timestamp conflict resolution**
- 🗑️ **Soft delete with propagation**
- 📡 **Automatic client discovery** (new clients propagate to all others)
- 🔔 **Laravel events** for every change:
    - `KeyCreated`
    - `KeyUpdated`
    - `KeyDeleted`
    - `KeySynced`
    - `ClusterClientAdded`
- 🛠️ **Simple API** (`DistributedKv::set()`, `get()`, `delete()`)
- 🧩 **Admin panel** (`/kv-admin`) to inspect keys, versions, and cluster state
- 🧱 **Zero external dependencies** — no Redis, no queues, no message brokers

---

📦 Installation
--------------

[](#-installation)

### 1. Require the package

[](#1-require-the-package)

```
composer require fratac/laravel-distributed-kv
```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance81

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

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 ~3 days

Total

12

Last Release

102d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0f1474ad1dd4808b06715c27d7b9f613aed15b312f6af40a3948fe6daccb71d4?d=identicon)[fratac](/maintainers/fratac)

---

Top Contributors

[![fratac](https://avatars.githubusercontent.com/u/1576690?v=4)](https://github.com/fratac "fratac (16 commits)")

### Embed Badge

![Health badge](/badges/fratac-laravel-distributed-kv/health.svg)

```
[![Health](https://phpackages.com/badges/fratac-laravel-distributed-kv/health.svg)](https://phpackages.com/packages/fratac-laravel-distributed-kv)
```

###  Alternatives

[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[baril/bonsai

An implementation of the Closure Tables pattern for Eloquent.

3593.5k](/packages/baril-bonsai)[toponepercent/baum

Baum is an implementation of the Nested Set pattern for Eloquent models.

3154.7k](/packages/toponepercent-baum)

PHPackages © 2026

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