PHP code example of niko9911 / react-psr-cache-bridge

1. Go to this page and download the library: Download niko9911/react-psr-cache-bridge library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

niko9911 / react-psr-cache-bridge example snippets



declare(strict_types=1);

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