Registry / utility / phpfastcache-phpfastcache

phpfastcache-phpfastcache

JSON →
library9.2.4phppackagistunverified

PHP Abstract Cache Class - Reduce your database call using cache system. Phpfastcache handles a lot of drivers such as Apc(u), Cassandra, CouchBase, Couchdb, Dynamodb, Firestore, Mongodb, Files, (P)redis, Leveldb, Memcache(d), Ravendb, Ssdb, Sqlite, Wincache, Xcache, Zend Data Cache.

composer require phpfastcache/phpfastcache
INSTALL
IMPORT
SIG · PHPFASTCACHE-PHPFA
P
phpfastcache-phpfastcache
utilityphpv9.2.4
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.

CacheManager
use Phpfastcache\CacheManager;

Set a cache item using the Files driver.

use Phpfastcache\CacheManager; $cache = CacheManager::getInstance('Files'); $cache->set('key', 'value', 300);
Debug
Known issues
gotchaSome drivers require additional PHP extensions (e.g., redis, memcached).
fix
Install the required PHP extension for the driver you intend to use.
affects: >=9.0.0
Upgrade
Version history
9.2.4latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
14
Resources
phpfastcache-phpfastcache — pip install phpfastcache-phpfastcache · libregistry