Download the PHP package oat-sa/lib-health-check-cache without Composer
On this page you can find all versions of the php package oat-sa/lib-health-check-cache. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download oat-sa/lib-health-check-cache
More information about oat-sa/lib-health-check-cache
Files in oat-sa/lib-health-check-cache
Package lib-health-check-cache
Short Description OAT Cache Health Check Library
License GPL-2.0-only
Informations about the package lib-health-check-cache
PSR-6 Cache Health Checker
PSR-6 cache health checker for the Health checks PHP library
Table of contents
- Installation
- Usage
- Tests
Installation
Usage
This library provides a CacheChecker checker in charge to check if the provided cache pool is reachable.
Note: The built-in UuidCacheKeyGenerator can accept a custom prefix. If not provided, a default prefix will be used.
Note: If you need a custom logic to generate the cache key, create your own key generator by implementing CacheKeyGeneratorInterface Make sure your generated key is unique enough.
Tests
To run tests:
Note: see phpunit.xml.dist for available test suites.
All versions of lib-health-check-cache with dependencies
psr/cache Version ^1.0 | ^2.0 | ^3.0
oat-sa/lib-health-check Version ^1.0
ramsey/uuid Version ^4.1