cache/simple-cache-bridge

A PSR-6 bridge to PSR-16. This will make any PSR-6 cache compatible with SimpleCache.

Maintainers

Package info

github.com/php-cache/simple-cache-bridge

Homepage

pkg:composer/cache/simple-cache-bridge

Transparency log

Statistics

Installs: 3 393 989

Dependents: 36

Suggesters: 4

Stars: 42

2.0.4 2026-08-20 01:59 UTC

This package is auto-updated.

Last update: 2026-08-20 02:28:43 UTC


README

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.