Registry / utility / matthiasmullie-scrapbook

matthiasmullie-scrapbook

JSON →
library1.5.4phppackagistunverified

Scrapbook is a PHP cache library, with adapters for e.g. Memcached, Redis, Couchbase, APCu, SQL and additional capabilities (e.g. transactions, stampede protection) built on top.

composer require matthiasmullie/scrapbook
INSTALL
IMPORT
SIG · MATTHIASMULLIE-SCR
M
matthiasmullie-scrapbook
utilityphpv1.5.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.

SimpleCache
use MatthiasMullie\Scrapbook\Psr16\SimpleCache;

Create a simple cache with memory store

use MatthiasMullie\Scrapbook\Psr16\SimpleCache; use MatthiasMullie\Scrapbook\Adapters\MemoryStore; $cache = new SimpleCache(new MemoryStore()); $cache->set('key', 'value'); echo $cache->get('key');
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.5.4latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
matthiasmullie-scrapbook — pip install matthiasmullie-scrapbook · libregistry