PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Niko   React PHP PSR Cache Bridge   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Read me
Class: React PHP PSR Cache Bridge
Provides PSR compliant cache interface using React
Author: By
Last change:
Date: 5 years ago
Size: 511 bytes
 

Contents

Class file image Download

ReactPHP PSR Cache Bridge

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.