Model caching dependency for Laravel Enso

1.4.12 2018-10-21 12:02 UTC


Codacy Badge StyleCI License Total Downloads Latest Stable Version

Model caching for Laravel


  • 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


are welcome. Pull requests are great, but issues are good too.


This package is released under the MIT license.