opis/cache

A caching library, with support for multiple backend storages, that provides developers an API which allows them to deal with cached content in a standardised way, no matter where that content is stored.

Installs: 111

Dependents: 1

Stars: 3

Watches: 1

Language: PHP

2.1.1 2015-02-27 11:52 UTC

README

Latest Stable Version Latest Unstable Version License

Caching library

Opis Cache is a caching library, with support for multiple backend storages, that provides developers an API which allows them to deal with cached content in a standardised way, no matter where that content is stored. Also, the Opis Cache's simple and effective architecture, ensures that support for new backend storages can be easily achieved by simply implementing an interface.

The currently supported storages are: APC, APCU, Database, File, Memory, Memcache, Memcached, MongoDB, Proxy, Redis, WinCache, XCache, ZendCache and ZendMemory.

License

Opis Cache is licensed under the Apache License, Version 2.0.

Requirements

Installation

This library is available on Packagist and can be installed using Composer.

{
    "require": {
        "opis/cache": "2.1.*"
    }
}

If you are unable to use Composer you can download the tar.gz or the zip archive file, extract the content of the archive and include de autoload.php file into your project.

require_once 'path/to/cache-2.1.0/autoload.php';

Documentation

Examples and documentation can be found at http://opis.io/cache .