oxhq/cachelet-core
最新稳定版本:v0.3.0
Composer 安装命令:
composer require oxhq/cachelet-core
包简介
Core cache orchestration runtime for the Cachelet package family.
README 文档
README
Generic cache operations runtime for Laravel.
cachelet-core is the foundation of the Cachelet family: deterministic keys, TTL/SWR behavior, inspection, invalidation, telemetry, and sidecar maintenance without model, query, or request-specific integrations.
Install
composer require oxhq/cachelet-core
Best Fit
Use this package when the app already has its own caching layer and you want the Cachelet operating model around it:
- stable coordinates
- normalized payload keys
- exact-key and prefix invalidation
onStore(...)routing- telemetry and intervention contracts
cachelet:list,cachelet:inspect,cachelet:flush, andcachelet:prune
Example
use Oxhq\Cachelet\Facades\Cachelet; $report = Cachelet::for('reports.sales') ->from(['from' => '2026-01-01', 'to' => '2026-01-31']) ->onStore('redis') ->ttl('+30 minutes') ->remember(fn () => $service->salesReport());
Docs
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 6
- 依赖项目数: 5
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-04-20