PHP code example of crazynds / crypto-cache

1. Go to this page and download the library: Download crazynds/crypto-cache 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/ */

    

crazynds / crypto-cache example snippets

 php
// Change the CACHE_DRIVER in .env or change 'default' value in config/cache.php to 'crypto-cache'

'default' => env('CACHE_DRIVER', 'crypto-cache'),


// Add these lines in config/cache.php in stores array:

'stores' =>[
    // ...

    'crypto-cache'=>[
        'driver' => 'crypto-cache',
        'cache' => '<cache to store the data>'
    ],

],