PHP code example of garlic / healthcheck
1. Go to this page and download the library: Download garlic/healthcheck 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/ */
garlic / healthcheck example snippets
bash
$container->get(CommunicatorService::class)
->serviceDiscoveryEvent(['date' => microtime(true)]);