Download the PHP package emmetog/cache without Composer
On this page you can find all versions of the php package emmetog/cache. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download emmetog/cache
More information about emmetog/cache
Files in emmetog/cache
Download emmetog/cache
More information about emmetog/cache
Files in emmetog/cache
Vendor emmetog
Package cache
Short Description A collection of PHP classes which act as caches
License GPL-3.0
Package cache
Short Description A collection of PHP classes which act as caches
License GPL-3.0
Please rate this library. Is it a good library?
Informations about the package cache
emmetog/cache
A collection of PHP classes which act as caches. This package has an interface and several classes which implement it. At the moment there are classes for the following types of cache:
- Memcached (requires the php5-memcached package to be installed on your system)
- Registry (uses static variables to cache things for one PHP execution only)
- NullCache (can be used anywhere any other cache can but doesn't actually cache anything)
This package has no other dependancies, it can easily be used on it's own.
Installation
This package uses Composer, to use it just add it to your composer.json file.
For example:
"require": {
"emmetog/cache": "1.0.*",
}
Then just create the object you want (careful with namespaces) and use it, for example:
$registry = Emmetog\Cache\Registry::getInstance();
$registry->set('hello', 'world');
// $cachedValue will contain the string "world".
$cachedValue = $registry->get('hello');
This package follows the semantic versioning guidelines.
All versions of cache with dependencies
PHP Build Version
Package Version
No informations.
The package emmetog/cache contains the following files
Loading the files please wait ....