Download the PHP package khairul/laravel-auto-refresh-cache without Composer
On this page you can find all versions of the php package khairul/laravel-auto-refresh-cache. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download khairul/laravel-auto-refresh-cache
More information about khairul/laravel-auto-refresh-cache
Files in khairul/laravel-auto-refresh-cache
Download khairul/laravel-auto-refresh-cache
More information about khairul/laravel-auto-refresh-cache
Files in khairul/laravel-auto-refresh-cache
Vendor khairul
Package laravel-auto-refresh-cache
Short Description Automatically refresh Laravel cache on model save or delete events.
License MIT
Package laravel-auto-refresh-cache
Short Description Automatically refresh Laravel cache on model save or delete events.
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-auto-refresh-cache
Laravel Auto Refresh Cache Package
This package provides an easy way to auto-refresh cache for Laravel models on save/delete actions.
Installation
Open config/app.php and add the following line to the providers array:
Publish Config
Configuration
Add your cache-aware models to config/auto_refresh_cache.php:
Usage
In your model, use the trait and set the cache key:
Fetch cached data:
Refresh Cache Manually
Run this artisan command to refresh all caches:
All versions of laravel-auto-refresh-cache with dependencies
PHP Build Version
Package Version
The package khairul/laravel-auto-refresh-cache contains the following files
Loading the files please wait ...