topthink/cache-bridge

A bridge to convert PSR-16 to PSR-6

Maintainers

Package info

github.com/top-think/cache-bridge

pkg:composer/topthink/cache-bridge

Statistics

Installs: 172

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 0

v1.0.0 2019-10-31 13:35 UTC

This package is auto-updated.

Last update: 2026-03-01 00:29:36 UTC


README

This is a bridge that converts a PSR-16 cache implementation to PSR-6.

Install

composer require topthink/cache-bridge

Use

You need an existing PSR-16 cache object as a constructor argument to the bridge.

$simpleCache = new SimpleCache();
$psr6pool = new CacheBridge($simpleCache);