{"id":20674686,"url":"https://github.com/minvws/puzi-auth-bundle","last_synced_at":"2026-02-03T10:03:37.205Z","repository":{"id":57017352,"uuid":"355804951","full_name":"minvws/puzi-auth-bundle","owner":"minvws","description":"Symfony bundle for UZI authentication ","archived":false,"fork":false,"pushed_at":"2025-08-29T19:50:11.000Z","size":345,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-09-27T03:35:45.753Z","etag":null,"topics":["guard","icore","symfony-bundle","uzi-card"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"eupl-1.2","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/minvws.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.pdf","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-04-08T07:26:18.000Z","updated_at":"2025-06-18T10:32:13.000Z","dependencies_parsed_at":"2025-09-27T08:23:09.690Z","dependency_job_id":null,"html_url":"https://github.com/minvws/puzi-auth-bundle","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/minvws/puzi-auth-bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minvws%2Fpuzi-auth-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minvws%2Fpuzi-auth-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minvws%2Fpuzi-auth-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minvws%2Fpuzi-auth-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/minvws","download_url":"https://codeload.github.com/minvws/puzi-auth-bundle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minvws%2Fpuzi-auth-bundle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29040774,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T09:57:37.951Z","status":"ssl_error","status_checked_at":"2026-02-03T09:55:14.920Z","response_time":96,"last_error":"SSL_read: 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":["guard","icore","symfony-bundle","uzi-card"],"created_at":"2024-11-16T21:06:41.813Z","updated_at":"2026-02-03T10:03:37.184Z","avatar_url":"https://github.com/minvws.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"![pUZI logo](pUZI.svg \"pUZI logo\")\n# UZI authentication bundle for Symfony \n\n[![CI](https://github.com/minvws/puzi-auth-bundle/actions/workflows/test.yml/badge.svg)](https://github.com/minvws/puzi-auth-bundle/actions/workflows/test.yml)\n\nProficient UZI pass reader in php.\n\nThe UZI card is part of an authentication mechanism for medical staff and doctors working in the Netherlands. The cards are distributed by the CIBG. More information and the relevant client software can be found at www.uziregister.nl (in Dutch).\n\npUZI is a simple and functional module which allows you to use the UZI cards as authentication mechanism. It consists of:\n\n1. a reader that reads the data on the card and gives an UziUser object in return.\n2. a validator that will check the given UziUser against a set of types and roles.\n3. a symfony guard authenticator that allows authentication based on UZI cards (this repository).\n\nFor documentation, software and to apply for an UZI card, please check out [www.uziregister.nl](https://www.uziregister.nl).     \n\npUZI is available under the EU PL licence. It was created early 2021 during the COVID19 campaign as part of the vaccination registration project BRBA for the ‘Ministerie van Volksgezondheid, Welzijn \u0026 Sport, programma Realisatie Digitale Ondersteuning.’\n\nQuestions and contributions are welcome via [GitHub](https://github.com/minvws/puzi-auth-bundle/issues).\n\n## Requirements\n\n* Symfony 4 or higher\n\nApache config (or NginX equivalent):\n```apacheconf\nSSLEngine on\nSSLProtocol -all +TLSv1.3\nSSLHonorCipherOrder on\nSSLCipherSuite ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384\nSSLVerifyClient require\nSSLVerifyDepth 3\nSSLCACertificateFile /path/to/uziCA.crt\nSSLOptions +StdEnvVars +ExportCertData\n```\n\n## Installation\n\n### Composer\n\n```sh\ncomposer require minvws/puzi-auth-bundle\n```\n\n## Usage\n\n\nStep 1: install bundle with composer:\n\n    composer require minvws/puzi-auth-bundle\n    \nStep 2: create a configuration file:\n\n    # config/packages/puzi_auth.yaml\n    puzi_auth:\n        strict_ca_check: true\n        allowed_types:\n            - !php/const MinVWS\\PUZI\\UziConstants::UZI_TYPE_NAMED_EMPLOYEE\n            - !php/const MinVWS\\PUZI\\UziConstants::UZI_TYPE_CARE_PROVIDER\n        allowed_roles:\n            - !php/const MinVWS\\PUZI\\UziConstants::UZI_ROLE_DOCTOR  \n\nStep 3: add the guard to your `security.yml`:\n\n    firewalls:\n        main:\n            guard:\n               authenticators:\n                - puzi_auth.security.guard.authenticator\n            stateless: true\n\nAt this point, an authenticated user will be of the `MinVWS\\PUZI\\AuthBundle\\Security\\User\\UziUser` class. You \ncan fetch any information about the UZI card itself with `$this-\u003egetUser()-\u003egetUzi()`.\n\n\n## Uses\n\npuzi-php - [Proficient UZI pass reader in PHP](https://github.com/minvws/pUZI-php)\n\nphpseclib - [PHP Secure Communications Library](https://phpseclib.com/)\n\n## Contributing\n\n1. Fork the Project\n\n2. Ensure you have Composer installed (see [Composer Download Instructions](https://getcomposer.org/download/))\n\n3. Install Development Dependencies\n\n    ```sh\n    composer install\n    ```\n\n4. Create a Feature Branch\n\n5. (Recommended) Run the Test Suite\n\n    ```sh\n    vendor/bin/phpunit\n    ```\n6. (Recommended) Check whether your code conforms to our Coding Standards by running\n\n    ```sh\n    vendor/bin/phpstan analyse\n    vendor/bin/phpcs\n    ```\n\n7. Send us a Pull Request\n\n![pUZI](pUZI-hidden.svg \"pUZI\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminvws%2Fpuzi-auth-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminvws%2Fpuzi-auth-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminvws%2Fpuzi-auth-bundle/lists"}