boing6002 / rememberable
Model caching dependency for Laravel Enso
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 4
pkg:composer/boing6002/rememberable
Requires
- php: >=7.1.0
- laravel/framework: 5.7.*
This package is auto-updated.
Last update: 2025-09-25 09:58:58 UTC
README
Model caching for Laravel
Details
- comes with 2 traits that provide helper methods for quick and easy caching usage (setting and retrieving)
- the cache lifetime may be set per model, else, if not set, the per-project setting is used, finally falling back to a default of 60 minutes if neither option is available
- uses the Laravel
cache()helper method so is transparent to the cache mechanism/implementation
Configuration & Usage
Be sure to check out the full documentation for this package available at docs.laravel-enso.com
Contributions
are welcome. Pull requests are great, but issues are good too.
License
This package is released under the MIT license.