Skip to content

Repository files navigation

PSR-6 to PSR-16 bridge

Latest Stable Version Coverage Software License

This package exposes an existing PSR-6 pool through the PSR-16 CacheInterface.

Installation

composer require cache/simple-cache-bridge:^2.0

Usage

use Cache\Adapter\PHPArray\ArrayCachePool;
use Cache\Bridge\SimpleCache\SimpleCacheBridge;

$pool = new ArrayCachePool();
$cache = new SimpleCacheBridge($pool);

Version 2 implements psr/cache 3 and supports psr/simple-cache 2 and 3.

Contributing

Send pull requests to the main repository. Report issues on the GitHub issue tracker.

About

[READ-ONLY] A bridge to convert PSR-6 to SimpleCache

Resources

Stars

42 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages