icicleio/cache

Asynchronous caching interface for Icicle.

v0.1.0 2016-04-18 23:08 UTC

This package is auto-updated.

Last update: 2024-11-14 03:08:01 UTC


README

This library is a component for Icicle that provides an asynchronous cache interface and memory cache implementation. Like other Icicle components, this library uses Coroutines built from Awaitables and Generators to make writing asynchronous code more like writing synchronous code.

Build Status Coverage Status Semantic Version MIT License @icicleio on Twitter

Documentation and Support

Requirements
  • PHP 5.5+ for v0.1.x branch (current stable) and v1.x branch (mirrors current stable)
  • PHP 7 for v2.0 (master) branch supporting generator delegation and return expressions
Installation

The recommended way to install is with the Composer package manager. (See the Composer installation guide for information on installing and using Composer.)

Run the following command to use this library in your project:

composer require icicleio/cache

You can also manually edit composer.json to add this library as a project requirement.

// composer.json
{
    "require": {
        "icicleio/cache": "^0.1"
    }
}