paillechat/apcu-simple-cache

PSR-16 apcu implementation

1.3 2017-08-24 13:26 UTC

This package is not auto-updated.

Last update: 2024-11-15 18:23:33 UTC


README

Build Status Scrutinizer Code Quality Code Coverage Latest Stable Version Total Downloads

PSR-16 Simple Cache implementation based on apcu extension.

Installation

composer require paillechat/apcu-simple-cache

Usage

$ttl = 1;
$cache = new ApcuCache();

$cache->set('foo', 'bar', $ttl);
$foo = $cache->get('foo');