fratac/laravel-distributed-kv
最新稳定版本:v1.0.15
Composer 安装命令:
composer require fratac/laravel-distributed-kv
包简介
Distributed key-value registry between Laravel applications using only PHP/Laravel.
README 文档
README
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:
KeyCreatedKeyUpdatedKeyDeletedKeySyncedClusterClientAdded
- 🛠️ 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
统计信息
- 总下载量: 31
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-27