codin/healthchecks-io

healthchecks-io sdk

0.1.2 2022-03-22 05:21 UTC

This package is auto-updated.

Last update: 2024-12-22 11:22:26 UTC


README

version workflow license

Usage

$pinger = new Codin\Healthchecks\Ping('0d338dcc-a054-11ec-b909-0242ac120002');
$pinger->start();
try {
    // do some stuff
    $pinger->success();
} catch (Exception $e) {
    $pinger->fail();
}