Opis Cache

Installation, licensing and requirements

This library is abandoned. Please consider using a different library.

Opis Cache is a library that helps you work with cached content, which can be stored and retrieved by using one of the provided cache drivers.

You can create your own cache driver by simply implementing an interface.

The currently supported cache drivers are: File, Memory, and PHPFile, but we also provide an adapter class so you can use any PsrSimpleCache (PSR16) implementation as a cache driver.

License

Opis Cache is licensed under Apache License, Version 2.0.

Requirements

  • PHP ^7.0

Installation

Opis Cache is available on Packagist and it can be installed from a command line interface by using Composer.

composer require opis/cache

Or you could directly reference it into your composer.json file as a dependency

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