LaravelPackages.net
Acme Inc.
Toggle sidebar
boing6002/rememberable

Model caching dependency for Laravel Enso

7
0
1.4.12
About boing6002/rememberable

boing6002/rememberable is a Laravel package for model caching dependency for laravel enso. It currently has 0 GitHub stars and 7 downloads on Packagist (latest version 1.4.12). Install it with composer require boing6002/rememberable. Discover more Laravel packages by boing6002 or browse all Laravel packages to compare alternatives.

Last updated

Rememberable Models

Codacy Badge StyleCI License Total Downloads Latest Stable Version

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.

Star History Chart