Download the PHP package alirezaashrafi/php-file-cache without Composer
On this page you can find all versions of the php package alirezaashrafi/php-file-cache. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download alirezaashrafi/php-file-cache
More information about alirezaashrafi/php-file-cache
Files in alirezaashrafi/php-file-cache
Download alirezaashrafi/php-file-cache
More information about alirezaashrafi/php-file-cache
Files in alirezaashrafi/php-file-cache
Vendor alirezaashrafi
Package php-file-cache
Short Description Fast key value caching system based on file system (without any databases like Redis or Memcache)
License MIT
Homepage https://github.com/alirezaashrafi/php-file-cache
Package php-file-cache
Short Description Fast key value caching system based on file system (without any databases like Redis or Memcache)
License MIT
Homepage https://github.com/alirezaashrafi/php-file-cache
Please rate this library. Is it a good library?
Informations about the package php-file-cache
php-file-cache
Fast key value caching system based on file system (without any databases like Redis or Memcache)
Installation
This project using composer.
Usage
After installation, you can use 'Cache' class in your project
If class with 'Cache' name already exists you can use AS for rename included class
- Initialization parameters are directory and file name
- First parameter is absolute path of cache directory
-
Second parameter is the file you want to save results
- Directory hierarchy (path/cache-dir/products)
Set
`
Get
`
- If cache exists it will return the value ("Iphone 13 pro max")
- Else if cache not exists default value will return ("default value")
Has
`
- Has function checks the existence of cache in file and memory
- True or False are return values of has function
Delete
`
Get ALL
Purge (Delete ALL)
All versions of php-file-cache with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package alirezaashrafi/php-file-cache contains the following files
Loading the files please wait ....