Registry / database / genealabs-laravel-model-caching

genealabs-laravel-model-caching

JSON →
library13.1.0phppackagistunverified

Automatic caching for Eloquent models in Laravel applications.

composer require genealabs/laravel-model-caching
INSTALL
IMPORT
SIG · GENEALABS-LARAVEL-
G
genealabs-laravel-model-caching
databasephpv13.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Cachable
use GeneaLabs\LaravelModelCaching\Traits\Cachable;

Adds automatic caching to an Eloquent model.

use GeneaLabs\LaravelModelCaching\Traits\Cachable; class User extends Model { use Cachable; }
Debug
Known issues
gotchaCache invalidation may not work correctly with complex queries or relationships.
fix
Manually clear cache after updates or use events to invalidate.
affects: >=13.0.0
Upgrade
Version history
13.1.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources
genealabs-laravel-model-caching — pip install genealabs-laravel-model-caching · libregistry