webclient / cache-adapter-psr-cache
Interface for caching
Package info
github.com/phpwebclient/cache-adapter-psr-cache
pkg:composer/webclient/cache-adapter-psr-cache
v3.0.0
2022-07-26 16:10 UTC
Requires
- php: ^8.0
- psr/cache: ^3.0
- webclient/cache-contract: ^1.0
Requires (Dev)
- phpunit/phpunit: ^6.5 || ^7.5 || ^8.5 || ^9.5
- squizlabs/php_codesniffer: ^3.7
Suggests
- psr/simple-cache-implementation: Choice your favorite psr-6 implementation
Provides
README
webclient/cache-adapter-psr-cache
psr/cache adapter for webclient/cache-contract
Install
Install this package and your favorite psr-6 implementation.
Install this package
composer require webclient/cache-adapter-psr-cache:^3.0
Usage
<?php /** @var \Psr\Cache\CacheItemPoolInterface $psrCache */ $psrCacheAdapter = new \Webclient\Cache\Adapter\PsrCache\PsrCacheAdapter($psrCache);