authentik/eloquent-cache
Eloquent Cache adds automatic query caching to Laravel models, storing results in your configured cache driver and invalidating them on create, update, and delete. Speed up repeated database reads with almost no code changes.
Consider it when:
Look elsewhere when:
To executives: This is a small, low-cost performance experiment, not a platform bet. It may reduce database load and latency on read-heavy model endpoints, but adoption risk is material: low usage, no recent release, and GPL-3.0 licensing. Approve only a time-boxed spike with clear success metrics—query volume, p95 latency, cache hit rate, and incident rate—before any production commitment.
To engineering: The package promises easy caching of Eloquent models, but it should be treated as a thin convenience layer, not infrastructure. Validate Laravel/PHP compatibility, invalidation behavior, observability, and failure modes. Prefer wrapping it behind an internal interface or reproducing the pattern with Laravel’s cache primitives if the dependency proves fragile. Legal review is required before embedding GPL-3.0 code in distributed proprietary software.
How can I help you explore Laravel packages today?