{"id":37265410,"url":"https://github.com/nextgen-tech/ewus-php","last_synced_at":"2026-01-16T00:07:43.523Z","repository":{"id":41848830,"uuid":"296635489","full_name":"nextgen-tech/ewus-php","owner":"nextgen-tech","description":"PHP implementation for eWUŚ API","archived":false,"fork":false,"pushed_at":"2022-04-26T16:57:28.000Z","size":68,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-14T15:45:49.851Z","etag":null,"topics":["ewus","php","polish-insurance"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nextgen-tech.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-18T13:54:48.000Z","updated_at":"2022-04-26T16:47:01.000Z","dependencies_parsed_at":"2022-08-11T19:20:33.413Z","dependency_job_id":null,"html_url":"https://github.com/nextgen-tech/ewus-php","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/nextgen-tech/ewus-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextgen-tech%2Fewus-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextgen-tech%2Fewus-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextgen-tech%2Fewus-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextgen-tech%2Fewus-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nextgen-tech","download_url":"https://codeload.github.com/nextgen-tech/ewus-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextgen-tech%2Fewus-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28474296,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T00:03:33.697Z","status":"ssl_error","status_checked_at":"2026-01-15T23:58:36.859Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ewus","php","polish-insurance"],"created_at":"2026-01-16T00:07:42.906Z","updated_at":"2026-01-16T00:07:43.515Z","avatar_url":"https://github.com/nextgen-tech.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP eWUŚ\n\nThis package is PHP implementation of eWUŚ (Elektroniczna Weryfikacja Uprawnień Świadczeniobiorców). It has coded each available operation - login, logout, check patient status and change password. It is compliment with newest version (5.0), which contans additional information about patient (e.g. information about COVID-19 quarantine and isolation).\n\n## ToC\n\n1. [Requirements](#Requirements)\n2. [Installation](#Installation)\n3. [Usage](#Usage)\n\n## Requirements\n\n| Version | PHP    |\n| ------- | ------ |\n| 1.x     | \u003e= 7.3 |\n\nThis package requires ext-dom to be installed on server. Optionally HTTP connection (via Guzzle) can be switched to native SOAP Client. In this case also ext-soap must be installed.\n\n## Installation\n\n```sh\ncomposer require nextgen-tech/ewus\n```\n\n## Usage\n\n```php\n// Create once handler instance\n$handler = new Handler(new HttpConnection());\n\n// (Optional) Enable sandbox mode for testing\n$handler-\u003eenableSandboxMode();\n\n// Login\n$request = new LoginRequest('15', 'TEST1', 'qwerty!@#');\n$login = $handler-\u003ehandle($request);\n\n// Check patient status\n$request = new CheckRequest($login-\u003egetSessionId(), $login-\u003egetToken(), '12345678901');\n$check = $handler-\u003ehandle($request);\n\n// Change password\n$request = new ChangePasswordRequest($login-\u003egetSessionId(), $login-\u003egetToken(), '15', 'TEST1', 'qwerty!@#', 'asdfgh#@!');\n$changePassword = $handler-\u003ehandle($request);\n\n// Logout\n$request = new LogoutRequest($login-\u003egetSessionId(), $login-\u003egetToken());\n$logout = $handler-\u003ehandle($request);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextgen-tech%2Fewus-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnextgen-tech%2Fewus-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextgen-tech%2Fewus-php/lists"}