1. Go to this page and download the library: Download requestlab/estat 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/ */
requestlab / estat example snippets
php
stLab\Estat;
// ...
php
use RequestLab\Estat\Query;
$query = new Query();
$query->setStartDate(new \DateTime('-1 Day'));
$query->setEndDate(new \DateTime('-1 Day'));
$query->setSerial(254054201858);
$query->setIndicator('WEB_4NIVEAUX_NIVEAU4');
php
use RequestLab\Estat\Client;
$client = new Client();
$client->setLogin('Login');
$client->setPassword('Password');
php
use RequestLab\Estat\Service;
$service = new Service($client);
$client->query($query);