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: 137

Dependents: 1

Stars: 3

Watchers: 1

Language: PHP

3.0.0 2015-08-31 15:50 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, File, Memory, Memcache, Memcached, MongoDB, Proxy, WinCache, XCache, ZendCache and ZendMemory.

Important!

You can install additional storage adapters, for SQL databases and Redis, by using the optional Opis Storages package.

License

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

Requirements

  • PHP 5.3.* or higher

Installation

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

{
    "require": {
        "opis/cache": "^3.0.0"
    }
}

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-3.0.0/autoload.php';

Documentation

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