opis/cache

A library that helps you work with cached content

3.1.1 2015-12-19 12:30 UTC

README

Latest Stable Version Latest Unstable Version License

Caching library

Opis Cache library that helps you work with cached content. Cached content can be stored and retrieved by using one of the provided cache driver. You can create your own cache driver by simply implementing an interface.

The currently supported cache drivers are: File, Memory, and PHPFile.

License

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

Requirements

  • PHP 7.0.* or higher

Installation

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

{
    "require": {
        "opis/cache": "4.0.x-dev"
    }
}

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

Documentation

Examples and documentation(outdated) can be found here.