niko9911/react-psr-cache-bridge

Bridge between PSR caching implementation and React cache.

1.0.0 2019-03-04 06:41 UTC

This package is auto-updated.

Last update: 2020-08-04 10:30:48 UTC


README

Bridge between React cache and PSR caching implementation.

Install

Via composer:

composer require niko9911/react-psr-cache-bridge

Usage

Will work like normal PHP bridge.

Example:

<?php
declare(strict_types=1);

$psr = new Cache(); // Object implementing PSR Cache.
$react = new \Niko9911\React\Cache\Bridge\ReactPsrCacheBridge($psr); 

License

Licensed under the MIT license.