Registry / caching / zendframework-zend-cache

zendframework-zend-cache

JSON →
library2.9.0phppackagistunverified

Caching implementation with a variety of storage options, as well as codified caching strategies for callbacks, classes, and output

composer require zendframework/zend-cache
INSTALL
IMPORT
SIG · ZENDFRAMEWORK-ZEND
Z
zendframework-zend-cache
cachingphpv2.9.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.

StorageFactory
use Zend\Cache\StorageFactory;

Create a filesystem cache adapter and store a value

use Zend\Cache\StorageFactory; $cache = StorageFactory::factory([ 'adapter' => 'filesystem', 'options' => ['cache_dir' => '/tmp/cache'], ]); $cache->setItem('key', 'value');
Debug
Known issues
breakingThis package is part of Zend Framework; consider migrating to Laminas.
fix
Use laminas-cache instead for active development.
affects: >=2.0
Upgrade
Version history
2.9.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
37 hits · last 30 days
node
32
Amazon
1
Resources