1. Go to this page and download the library: Download enaxon/reqtide-redis 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/ */
enaxon / reqtide-redis example snippets
$registry = new RedisRegistry('billing-prod', 'eu1-billing', $secret); // $secret: 32 bytes or more, kept for the life of the registry
$admin = new RedisRegistryAdmin($adminConnection, $registry);
$admin->initialize(); // idempotent; a different identity or ceilings is refused
$admin->inspectServer(); // reports maxmemory-policy; protectsState() must be true