laravel-enso/rememberable

Model caching dependency for Laravel Enso

2.1.0 2019-05-17 09:59 UTC

README

Codacy Badge StyleCI License Total Downloads Latest Stable Version

Model caching for Laravel

This package can work independently of the Enso ecosystem.

For live examples and demos, you may visit laravel-enso.com

Installation

Comes pre-installed in Enso.

To install outside of Enso: composer require laravel-enso/rememberable

Features

  • comes with a trait that provides helper methods for quick and easy caching usage (setting and retrieving)
  • the cache lifetime may be set per model or the per-project
  • uses the Laravel cache() helper method so it 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.