laravel-enso / Rememberable by aocneanu

Model caching dependency for Laravel Enso
59,124
28
7
Package Data
Maintainer Username: aocneanu
Maintainer Contact: aocneanu@gmail.com (Adrian Ocneanu)
Package Create Date: 2017-05-09
Package Last Update: 2024-10-09
Home Page: https://docs.laravel-enso.com/packages/rememberable.html
Language: PHP
License: MIT
Last Refreshed: 2024-12-15 15:18:13
Package Statistics
Total Downloads: 59,124
Monthly Downloads: 524
Daily Downloads: 4
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.