fratac/laravel-distributed-kv

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

Maintainers

Package info

github.com/fratac/laravel-distributed-kv

pkg:composer/fratac/laravel-distributed-kv

Statistics

Installs: 31

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.15 2026-01-30 21:37 UTC

This package is auto-updated.

Last update: 2026-03-01 00:48:46 UTC


README

Tests Release Packagist License

Laravel Distributed KV (key/value)

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

  • ๐Ÿ”„ 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

1. Require the package

composer require fratac/laravel-distributed-kv