The Ewus library was created to simplify communication with the eWUŚ system.
At this moment, the functionality of the system is the same as the eWUŚ service in version 1.10.
Ewus requires PHP version ^7.1
with DOM extension to work properly.
<?php
use Gilek\Ewus\Client\Client;
use Gilek\Ewus\Client\Credentials;
$client = new Client(
new Credentials('login', 'password', '15'),
);
$response = $client->checkCwu('NNNNNNNNNNN');
var_dump($response);
$client->logout();
The above code is designed to:
\Gilek\Ewus\Response\CheckCwuResponse
object.