PHP code example of sagleft / utopialib-php

1. Go to this page and download the library: Download sagleft/utopialib-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/ */

    

sagleft / utopialib-php example snippets


$token = "3D4F4A5E34706378B4A4541502E603B6";
$client = new UtopiaLib\Client($token, "http://127.0.0.1", 22824);
print_r($client->getSystemInfo());
shell
composer 
bash
php CheckConnection.php