Download the PHP package d076/laravel-cache-helper without Composer
On this page you can find all versions of the php package d076/laravel-cache-helper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download d076/laravel-cache-helper
More information about d076/laravel-cache-helper
Files in d076/laravel-cache-helper
Download d076/laravel-cache-helper
More information about d076/laravel-cache-helper
Files in d076/laravel-cache-helper
Vendor d076
Package laravel-cache-helper
Short Description Small helper for Laravel Cache facade
License MIT
Package laravel-cache-helper
Short Description Small helper for Laravel Cache facade
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-cache-helper
laravel-cache-helper
Small helper for Laravel Cache facade
Quick Setup
Usage
Add HasCached trait to your class which methods you want to cache.
Important
Your class or parent classes/traits should not contain override call and callStatic methods. So you can`t use HasCached trait in your Models.
Now you can call your methods with Cached or ForceCached prefix.
Optionally, you can pass last parameter $ttl in seconds.
All versions of laravel-cache-helper with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
illuminate/support Version ^10.0
illuminate/database Version ^10.0
illuminate/contracts Version ^10.0
illuminate/support Version ^10.0
illuminate/database Version ^10.0
illuminate/contracts Version ^10.0
The package d076/laravel-cache-helper contains the following files
Loading the files please wait ....