Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Eloquent Cache Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Laravel 12 upgrade sequencing. v0.9.2 ("Add Laravel 12 support") removes this package as a blocker in a framework upgrade. That is the single most actionable fact in the release: it lets us place the package inside the migration window rather than deferring it to a post-upgrade cleanup phase, and it lets us avoid maintaining a shim or a pinned-fork branch during the transition.
  • Build vs. buy for the underlying capability. Adopting the package is a bet that the capability is commodity rather than differentiating. That trade should be made explicitly against the cost of building and maintaining the equivalent in-house, including the recurring cost of tracking framework releases — the exact work this release represents.
  • Roadmap placement / dependency tiering. At 0.x, this is a tier-2 dependency: acceptable in internal tooling, admin surfaces, and non-SLA paths; needs a compatibility gate before it lands on revenue-critical or customer-facing surfaces.
  • Upgrade cadence planning. The release signals the maintainer is actively tracking Laravel's release cycle. That is a leading indicator of maintenance health and a reasonable input into whether we can afford to stay on a recent Laravel major.
  • Exit-cost budgeting. Because adoption is version-pinned and pre-1.0, the PM artifact to produce alongside adoption is a removal plan — how many call sites, how much of our code would need to change if we drop it — not just an adoption ticket.

When to Consider This Package

Consider it when:

  • You are on, or moving to, Laravel 12. This release is specifically the enabler; on earlier framework versions the compatibility question is moot but the maintenance question is not.
  • The capability is not a differentiator. If engineering would otherwise build it, and the build would be small and stable, buy is the cheaper path.
  • You can tolerate pre-1.0 semantics. Under 0.x versioning, a minor bump may contain breaking changes. You need exact-version pinning, a thin adapter/wrapper at each integration point, and CI that exercises the package against the framework version you actually run.
  • Release cadence is acceptable. Single-maintainer or small-maintainer projects with slow response times are fine for internal tooling and unacceptable where a security or availability defect becomes our incident.

Look elsewhere when:

  • You need contractual or long-term API stability. No 1.0 means no stability commitment. If the package sits on a public API or a multi-quarter platform commitment, wait for 1.0 or build.
  • You need a security response SLA or a maintained LTS branch. Not something a 0.9.2 release can establish.
  • You are pinned to an older Laravel major that this package no longer supports, and the upgrade cost to move frameworks exceeds the build cost.
  • The surface area is small enough that the dependency is more expensive than the code. A wrapper, a pinned version, and a migration plan have real carrying costs; for a few dozen lines of behavior, building is often cheaper in total.

How to Pitch It (Stakeholders)

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource