Download the PHP package kiczort/polish-validator-bundle without Composer
On this page you can find all versions of the php package kiczort/polish-validator-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kiczort/polish-validator-bundle
More information about kiczort/polish-validator-bundle
Files in kiczort/polish-validator-bundle
Package polish-validator-bundle
Short Description Symfony bundle with validators for Polish identification numbers: PESEL, NIP, REGON, PWZ.
License MIT
Informations about the package polish-validator-bundle
Symfony bundle with Polish validators
This is Symfony bundle with validators for Polish identification numbers like: PESEL, NIP, REGON and PWZ.
Installation
The recommended way to install this library is Composer.
Next, run the Composer command to install the latest stable version:
Add bundle to AppKernel.php
Documentation
Example of use PeselValidator:
There are PESEL numbers with errors in real word, so in case of this validator checksum checking is only for strict mode. In case of none strict mode it checks length, used chars and correctness of date of birth.
Example of use NipValidator:
Example of use RegonValidator:
Example of use PwzValidator:
PWZ means "licence to practise a profession" (pl. "prawo wykonywania zawodu"), number given to doctors from NIL (polish Chamber of Physicians and Dentists). Validator accepts also empty strings and nulls so you have to add "Assert/NotBlank" myself.
Bug tracking
GitHub issues. If you have found bug, please create an issue.
MIT License
License can be found here.
All versions of polish-validator-bundle with dependencies
ext-intl Version *
kiczort/polish-validator Version ^1.2
symfony/config Version ~6.1
symfony/http-kernel Version ~6.1
symfony/dependency-injection Version ~6.1
symfony/validator Version ~6.1