NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #2795 most downloaded on Packagist
Automatic caching for Eloquent models.
Latest stable
13.2.2
Last release 20 days ago
30 Oct 2026
Ships fairly regularly
a new release about every 3 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
185 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
where clause binding resolution issue.
### Fixed - function name typo. ### Removed - dump() used for debugging.
dump() used for debugging.caching of paginated queries with page identifiers as arrays (?page[size]=1).
?page[size]=1).Your coding agent can read these notes before it upgrades. Set up the MCP server →
unit tests for multiple versions of Laravel simultaneously.
caching of queries with whereNotIn clauses.
whereNotIn clauses.caching of queries with whereIn clauses.
whereIn clauses.database name to cache keys and tags to help with multi-tenancy use-cases.
find() using array parameter.nested whereNull within whereHas.
whereNull within whereHas.caching of between where clauses.
between where clauses.caching of query parameter bindings.
->inRandomOrder() to not cache the query.
->inRandomOrder() to not cache the query.flush console command to be called clear, to match other laravel commands.
flush console command to be called clear, to match other laravel commands.count() method.### Added - disabling of all() query.
all() query.cache invalidation when destroy()ing models.
destroy()ing models.all() queries that prevented proper
cache invalidation.### Fixed - caching of ->first() queries.
->first() queries.database connection name to cache prefix.
exception when calling disableCache() when caching is already disabled via config.
disableCache() when caching is already disabled via config.package dependency version to work with Laravel 5.5.
pagination cache key generation; fixes #85.
disabling of caching using the query scope.
actions on belongsToMany relationships not flushing cache when needed.
additional integration tests for additional use cases.
cache invalidation when using ->insert() method.
->insert() method.->update() method.code with some home-cleaning and refactoring.
CachedBuilder class with some refactoring and cleanup.
cache-invalidation-cool-down functionality.
disabling of ->all() method via config flag.
->all() method via config flag.config setting to allow disabling of model-caching.
cache key generation for find() and findOrFail().
find() and findOrFail().paginate();implementation tests using redis.
unit test to make sure Model::all() returns a collection when only only record is retrieved.
Model::all() returns a collection when only only
record is retrieved.hash collision logic to not run query twice if not needed.
### Added - optional cache key prefixing.
detection of Cachable trait to use class_uses() instead of looking for method.
class_uses() instead of looking for
method.hash collision detection and prevetion.
disabling of cache from using session to use cache-key instead.
the erroneous use of arrayEmpty() function, changed to simple count().
arrayEmpty() function, changed to simple count().refactor functionality to trait (thanks @rs-sliske!).
readme spelling errors (thanks @fridzema!).
### Fixed - whereNotIn query caching.
whereBetween and value bindings parsing.
### Fixed - Laravel 5.5 dependencies.
### Added - Laravel 5.6 compatibility.
previously existing unit tests to properly consider changes made in 0.2.19.
parsing of where clause operators.
hashing of cache keys to prevent key length over-run issues.
caching for value() querybuilder method.
value() querybuilder method.readme explaining thanks package.
thanks package.thanks package.sanity checks for artisan command with feedback as to what needs to be fixed.
ability to flush cache for a given model via Artisan command.
ability to define custom cache store in .env file.
.env file.chainable method to disable caching of queries.
functionality to clear corresponding cache tags when model is deleted.
caching when using orderByRaw().
orderByRaw().### Added - test for query scopes. - test for relationship query. ### Updated - readme file. - travis configuration.
code with optimizations and refactoring.
remaining unit tests that were incomplete, thanks everyone who participated!
doesnthave() condition.orderBy clause to cache key. Thanks @RobMKR for the PR!
parsing of nested, exists, raw, and column where clauses.
.gitignore file to reduce download size for production environment.
One column per quarter.