PHP code example of amitavroy / rediscache
1. Go to this page and download the library: Download amitavroy/rediscache 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/ */
amitavroy / rediscache example snippets
php
RedisCache::get("key_name");
php
RedisCache::set("key_name", $data);
php
RedisCache::forget("key_name");
php
RedisCache::forget("pattern", true);