eWUS - PHP library implementing eWUS functionality
<?php
use Ewus\Ewus;
/*
* create new client
*
* options:
* - username
* - password
* - domain
* - provider_type - LEK or SWD
* - provider_code - e.g. 001234
*/
$c = new Ewus(array('is_production' => false, 'username' => 'TEST1', 'domain' => 15));
// authenticate
$c->authenticate();
// check PESEL
$res = $c->checkPesel('86042510356');