Download the PHP package setbased/rijksregisternummer without Composer
On this page you can find all versions of the php package setbased/rijksregisternummer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download setbased/rijksregisternummer
More information about setbased/rijksregisternummer
Files in setbased/rijksregisternummer
Package rijksregisternummer
Short Description Library for handling identification numbers of the National Register of Belgium (a.k.a. Rijksregisternummer)
License MIT
Informations about the package rijksregisternummer
Rijksregisternummer / Numéro de Registre National
Social | Legal | Release | Tests | Code |
---|---|---|---|---|
|
Detailed information about identification number of the National Register (NL: rijksregisternummer, FR: numéro de registre national) can be found at:
- https://nl.wikipedia.org/wiki/Rijksregisternummer
- https://fr.wikipedia.org/wiki/Numéro_de_registre_national
- https://www.ibz.rrn.fgov.be/fileadmin/user_upload/nl/rr/instructies/IT-lijst/IT000_Rijksregisternummer.pdf
- https://www.ibz.rrn.fgov.be/fileadmin/user_upload/fr/rn/fichier-rn/fichier-RN.pdf
Usage
Validating a national registry number
Validate check digits and whether the first digits form a valid date.
Extract the date of birth from a registry number.
Also constructing a new Rijksregisternummer
will throw a \UnexpectedValueException
if the number is invalid.
Formatting a national registry number
Use the Helper to do simple string formatting. Invalid numbers will be returned as is.
Or create an instance.
Clean formatting characters from user input.
License
The project is licensed under the MIT license.