Apcu simple cache 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');