gilek / ewus
Library to simplify communication with the eWUŚ system.
5.0.0
2025-02-09 17:17 UTC
Requires
- ext-dom: *
- econea/nusoap: ^0.9.17
- phpstan/phpstan-phpunit: ^1.4
- sabre/xml: ^4.0
Requires (Dev)
- phpstan/phpstan: ^1.8
- phpunit/phpunit: ^10
- squizlabs/php_codesniffer: ^3.11
- symfony/var-dumper: ^6.4
This package is auto-updated.
Last update: 2025-02-09 17:18:16 UTC
README
The Ewus library simplifies communication with the eWUŚ system.
The library supports all services provided by the version 1.12.
Requirements
Ewus requires PHP version ^8.1
with DOM extension to work properly.
Usage
<?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 code above is intended to:
- Login the user to the eWUŚ system (the account is associated with the 15th NFZ department).
- Fetch information about the person with PESEL number NNNNNNNNNNN.
- Return the response as
\Gilek\Ewus\Response\CheckCwuResponse
object. - Logout of the eWUŚ system.