niko9911 / react-psr-cache-bridge
Bridge between PSR caching implementation and React cache.
1.0.0
2019-03-04 06:41 UTC
Requires
- php: ^7.1
- react/cache: ^0
- react/promise: ^2
Requires (Dev)
This package is auto-updated.
Last update: 2024-12-04 19:59:11 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.