laravel-enso / Rememberable by aocneanu

Model caching dependency for Laravel Enso
56,395
28
7
Package Data
Maintainer Username: aocneanu
Maintainer Contact: aocneanu@gmail.com (Adrian Ocneanu)
Package Create Date: 2017-05-09
Package Last Update: 2024-01-26
Home Page: https://docs.laravel-enso.com/packages/rememberable.html
Language: PHP
License: MIT
Last Refreshed: 2024-04-26 03:21:36
Package Statistics
Total Downloads: 56,395
Monthly Downloads: 223
Daily Downloads: 10
Total Stars: 28
Total Watchers: 7
Total Forks: 4
Total Open Issues: 0

Rememberable

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.