Skip to content

top-think/cache-bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

PSR-16 to PSR-6 Bridge

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);