mixislv/laravel-model-self-cache
A Laravel package that gives Eloquent models self-caching capabilities, letting models cache their own queries and attributes automatically and invalidate cached data on create, update, or delete. Reduces repeated database hits with minimal changes to existing model code.
^1.x (5.x apps, frozen) or ^2.x (current Laravel). Mixed constraints across services will fragment the dependency graph and complicate shared internal packages.For executives: This is a maintenance-driven major release, not a feature release. The only change is that the package no longer supports Laravel 5.x. There is no new capability to sell and no licensing cost change. The practical impact is a one-time engineering cost to upgrade our dependency — and, for any product still on Laravel 5.x, a clear signal that the platform itself is now the blocker. The vendor is actively maintaining the package, which is good for longevity, but we should expect to pay an upgrade tax on major versions rather than assume stability forever.
For engineering: v2.0.0 raises the minimum Laravel version by dropping 5.x. Audit composer.json constraints across all services, confirm the target Laravel version is supported, and run the upgrade in the same workstream as the framework bump rather than separately. Anything that must remain on 5.x should pin ^1.x explicitly and be logged as tech debt with an owner and a target date.
How can I help you explore Laravel packages today?