PHP code example of illuma-law / healthcheck-redis
1. Go to this page and download the library: Download illuma-law/healthcheck-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/ */
illuma-law / healthcheck-redis example snippets
use IllumaLaw\HealthCheckRedis\RedisExtensionCheck;
use Spatie\Health\Facades\Health;
Health::checks([
RedisExtensionCheck::new()->
use IllumaLaw\HealthCheckRedis\RedisMemoryCheck;
use Spatie\Health\Facades\Health;
Health::checks([
RedisMemoryCheck::new()
->connection('default')
->thresholdPercent(90),
]);