PHP code example of iserversupport / hosting-helpdesk-status

1. Go to this page and download the library: Download iserversupport/hosting-helpdesk-status 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/ */

    

iserversupport / hosting-helpdesk-status example snippets




ServerSupport\HelpdeskStatus\HelpdeskStatusClient;

$client = new HelpdeskStatusClient(
    'https://helpdesk.example.com/api/ticket'
);

$status = $client->getTicketStatus('12345');

print_r($status);