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

Laravel Model Caching Laravel Package

ghostcompiler/laravel-model-caching

Automatically caches Eloquent model queries and invalidates them whenever a model is created, updated, or deleted, so repeated database reads are served from cache. A drop-in trait for Laravel models with minimal configuration and no code changes required.

View on GitHub
Deep Wiki
Context7

ghostcompiler/laravel-model-caching adds transparent query caching to Laravel Eloquent models, reducing repeated database work without changing how you query your models. It hooks into model events to automatically invalidate cached results when records are created, updated, or deleted, keeping reads fast and data fresh.

  • Drop-in Eloquent integration with minimal configuration
  • Automatic cache invalidation on model changes
  • Configurable TTL, cache store, and cache keys
  • Cache tags for targeted flushing where supported
  • Built on Laravel’s native cache and model events
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.
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo
bernskioldmedia/laravel-harvest
bernskiold/laravel-data-scrubber
bernskiold/laravel-currency-converter
bernskiold/laravel-campaign-monitor
bernskioldmedia/laravel-autotranslate
siberfx/telegram-bot
roy-sandip/laravel-view-extended
gregsphotography/site-builder-core
roy-sandip/laravel-view
anodyne/blade-fluentui-icons
webx-ui/module-catalog-collections