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 Cacheable Model

Laravel Cacheable Model Laravel Package

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.

View on GitHub
Deep Wiki
Context7

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.

  • Zero-config trait-based integration
  • Configurable TTL, prefixes and unique identifiers
  • Automatic cache flushing on model writes
  • Per-model overrides of global defaults
  • Optional logging with configurable channel and level
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.
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
adachsoft/php-code-style