boing6002 / rememberable
Model caching dependency for Laravel Enso
1.4.12
2018-10-21 12:02 UTC
Requires
- php: >=7.1.0
- laravel/framework: 5.7.*
This package is auto-updated.
Last update: 2025-02-25 08:38:47 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.