Download the PHP package fmihel/php-cache without Composer
On this page you can find all versions of the php package fmihel/php-cache. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package php-cache
php-cache
simple cache for php functions result
Install
Example
class Cache
name | params | note |
---|---|---|
get(string $key,array $params,$callback,$lifetime):any | $key - unique key $params - array of input params $callback - wrap function for caching method $lifetime - period in hours |
caching function result |
clear() | clear cache | |
setDriver(iCacheDriver $driver) | $driver - cache engine driver, implements iCacheDriver interface |
set cache driver, exists SimpleCacheDriver ,FileCacheDriver ,SerCacheDriver |
enable(bool=null) | bool - if boolean set | enable/disable caching, or return curent set if bool===null |
clearOld() | removes outdated caches |
All versions of php-cache with dependencies
PHP Build Version
Package Version
Requires
fmihel/php-lib Version
^6.0
The package fmihel/php-cache contains the following files
Loading the files please wait ....