Skip to content
/ ewus Public

Library to simplify communication with the eWUŚ system.

License

Notifications You must be signed in to change notification settings

gilek/ewus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ewus

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:

  1. Login the user to the eWUŚ system (the account is associated with the 15th NFZ department).
  2. Fetch information about the person with PESEL number NNNNNNNNNNN.
  3. Return the response as \Gilek\Ewus\Response\CheckCwuResponse object.
  4. Logout of the eWUŚ system.

About

Library to simplify communication with the eWUŚ system.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages