Registry / utility / cache-filesystem-adapter

cache-filesystem-adapter

JSON →
library1.2.0phppackagistunverified

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

composer require cache/filesystem-adapter
INSTALL
IMPORT
SIG · CACHE-FILESYSTEM-A
C
cache-filesystem-adapter
utilityphpv1.2.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.

FilesystemCachePool
use Cache\Adapter\Filesystem\FilesystemCachePool;

Create a filesystem-backed cache pool using Flysystem.

use Cache\Adapter\Filesystem\FilesystemCachePool; use League\Flysystem\Filesystem; use League\Flysystem\Local\LocalFilesystemAdapter; $filesystem = new Filesystem(new LocalFilesystemAdapter('/path/to/cache')); $pool = new FilesystemCachePool($filesystem); $item = $pool->getItem('key');
Debug
Known issues
breakingRequires Flysystem v2 or v3; not compatible with v1.
fix
Use league/flysystem ^2.0 or ^3.0.
affects: >=1.0.0
Upgrade
Version history
1.2.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

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