alex433/laravel-eloquent-cache
A Laravel package that caches Eloquent query results to cut repeated database calls and speed up read-heavy applications. It integrates with Laravel’s cache system and helps invalidate cached data when underlying model records are updated, keeping results reasonably fresh.
Consider it when:
Look elsewhere when:
For executives: This is a low-commitment way to close a capability gap without adding headcount. The new release adds support for Laravel 12, so it also stops being a blocker for our framework upgrade — we can stay on a supported Laravel version instead of funding that work ourselves. The risk is bounded and deliberate: we pin the exact version, we isolate it behind a thin internal interface, and we therefore retain the option to replace or remove it without a rewrite. Cost of being wrong is a contained rework, not a platform decision.
For engineering: The package is at 0.9.2 and pre-1.0, so treat minor releases as potentially breaking and pin exactly. Wrap it behind our own interface so replacement is a swap rather than a refactor. Add CI coverage on Laravel 12 now, while the compatibility claim is fresh and cheap to verify. Note the upgrade path we would take if the project stalls — that is the real risk with a young dependency, not the code itself.
The ask: a timeboxed spike to validate the Laravel 12 compatibility claim against our actual codebase, followed by adoption on internal, non-SLA surfaces. Revisit at 1.0, or at the first breaking change, to decide whether to widen adoption or begin the exit.
How can I help you explore Laravel packages today?