Registry / utility / desarrolla2-cache

desarrolla2-cache

JSON →
library3.0.2phppackagistunverified

Provides an cache interface for several adapters Apc, Apcu, File, Mongo, Memcache, Memcached, Mysql, Mongo, Redis is supported.

composer require desarrolla2/cache
INSTALL
IMPORT
SIG · DESARROLLA2-CACHE
D
desarrolla2-cache
utilityphpv3.0.2
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.

Cache
✓ use Desarrolla2\Cache\Cache;

Create a file-based cache and store/retrieve a value.

<?php use Desarrolla2\Cache\Cache; use Desarrolla2\Cache\Adapter\FileAdapter; $adapter = new FileAdapter('/tmp/cache'); $cache = new Cache($adapter); $cache->set('key', 'value'); echo $cache->get('key');
Debug
Known issues
gotchaSome adapters require PHP extensions (e.g., APCu, Redis).
fix
Install the required PHP extension before using the adapter.
affects: >=3.0
Upgrade
Version history
3.0.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
desarrolla2-cache — pip install desarrolla2-cache · libregistry