1. Go to this page and download the library: Download filippo-toso/alleantia-sdk 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/ */
filippo-toso / alleantia-sdk example snippets
use FilippoToso\Alleantia\Alleantia;
use FilippoToso\Alleantia\Options;
'username' => 'admin',
'password' => 'secret',
]);
$alleantia = new Alleantia($options);
$response = $alleantia->system()->info();
print_r($response->body());