1. Go to this page and download the library: Download 1monitor/sdk-php 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/ */
1monitor / sdk-php example snippets
$client = new OneMonitor\Sdk\Client();
$client->ping('your-monitor-token');
use OneMonitor\Sdk\Client;
$client = new Client();
$client->ping('tok_abc'); // "this job is alive"