elipzis/laravel-cacheable-model
Add automatic select-query caching to any Laravel Eloquent model with a single trait. Configure TTL, prefixes, and unique identifiers per model, skip manual cache calls, and rely on automatic flushing for inserts, updates, and deletes. Works with Redis, memcached, and more.
elipzis/laravel-cacheable-model adds automatic select-query caching to any Laravel Eloquent model. Just use the Cacheable trait and query results are stored in your Redis, memcached or other cache backend—no manual cache calls required. Cache entries are invalidated automatically on inserts, updates or deletions, keeping data fresh while reducing database load.
How can I help you explore Laravel packages today?