Registry / utility / cache-apcu-adapter

cache-apcu-adapter

JSON →
library1.3.0phppackagistunverified

A PSR-6 cache implementation using apcu. This implementation supports tags

composer require cache/apcu-adapter
INSTALL
IMPORT
SIG · CACHE-APCU-ADAPTER
C
cache-apcu-adapter
utilityphpv1.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ApcuCachePool
use Cache\Adapter\Apcu\ApcuCachePool;

Create an APCu cache pool and store a value.

use Cache\Adapter\Apcu\ApcuCachePool; $pool = new ApcuCachePool(); $item = $pool->getItem('key'); if (!$item->isHit()) { $item->set('value'); $pool->save($item); }
Debug
Known issues
breakingAPCu extension must be installed and enabled.
fix
Install php-apcu extension.
affects: >=1.0.0
Upgrade
Version history
1.3.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
cache-apcu-adapter — pip install cache-apcu-adapter · libregistry