1. Go to this page and download the library: Download adata-team/healthchecker 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/ */
regexp
group_prefix - the name of the route group, for health
check_prefix - health route prefix
check_name - route name
url - url where healthcheck will be available