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: 2024-04-04 18:43:29 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.