ahmedzidan/laravel-cacheable
Laravel Cacheable adds automatic caching to your Eloquent models, so frequent queries are served from cache and invalidated on create, update, or delete. Drop in the trait, configure a TTL, and cut database load with almost no code changes.
Consider it when:
Look elsewhere when:
Cache::remember, model observers, or a small in-house trait.For executives: This package illustrates a low-cost performance pattern — caching Eloquent models with automatic invalidation — that can reduce database load for read-heavy features. However, it is archived and abandoned, so it should not become a strategic production dependency. Treat it as design input or a short-term prototype, not a platform bet.
For engineering: The fluent, granular caching API is worth borrowing: per-model keys, event-driven invalidation, and low boilerplate. But adoption means owning a fork or reimplementing the pattern internally. Recommendation: use it as a reference, validate the invalidation model against our domain, and either build a small internal trait or select a maintained alternative before committing to production.
How can I help you explore Laravel packages today?