Download the PHP package minvws/puzi-laravel without Composer
On this page you can find all versions of the php package minvws/puzi-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package puzi-laravel
pUZI Laravel
Proficient UZI pass reader in php.
The 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).
pUZI is a simple and functional module which allows you to use the UZI cards as authentication mechanism. It consists of:
- a reader that reads the data on the card and gives an UziUser object in return.
- middleware (for the Laravel framework) that allows authentication and user creation based on UZI cards (this repository).
For documentation, software and to apply for an UZI card, please check out www.uziregister.nl.
pUZI 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 & Sport, programma Realisatie Digitale Ondersteuning.’
Questions and contributions are welcome via GitHub.
Requirements
- PHP 8
- Laravel 8 or later.
Apache config (or NginX equivalent):
Installation
Composer
Manual
Add the following to your composer.json
and then run composer install
.
Usage
Add to $routeMiddleware
array in app/Http/Kernel.php
:
Add some allowed_types
and allowed_roles
to the config/uzi.php
.
For example:
In routes/web.php
add the middleware to some routes, for example:
Uses
puzi-php - Proficient UZI pass reader in PHP
phpseclib - PHP Secure Communications Library
Contributing
-
Fork the Project
-
Ensure you have Composer installed (see Composer Download Instructions)
-
Install Development Dependencies
-
Create a Feature Branch
-
(Recommended) Run the Test Suite
-
(Recommended) Check whether your code conforms to our Coding Standards by running
- Send us a Pull Request