Download the PHP package helip/niss without Composer

On this page you can find all versions of the php package helip/niss. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package niss

NISS

Latest Version on Packagist Build Status Scrutinizer Code Quality Total Downloads PHP 7.4

Helip/NISS is a PHP library that provides tools for generating and validating Belgian National Identification Numbers (NISS). The library includes a class called NISSGenerator for generating valid NISS numbers and providing relevant information, as well as three helper classes for validating NISS numbers. The library adheres to the specifications outlined in legal references related to the composition and validation of NISS numbers in Belgium.

Installation

You can install the package via Composer:

Getting Started

Other example of use can be found at /examples/index.php

Notes

NISS

National Identification Number (NISS): This is a unique number assigned to every Belgian citizen at birth or upon immigration. It consists of 11 digits, with the first six digits representing the person's date of birth, followed by a three-digit code indicating the municipality of birth, and ending with a two-digit control number. The NISS is used for a wide range of purposes, including social security, health care, and taxes.

NISS BIS

The BIS number is a unique identification number assigned to individuals who are not registered in the national registry, but still maintain close and stable relationships with Belgium in various sectors such as social security, healthcare, and others.

NISS TER

Temporary Identification Number (TER): This is a unique number generated on demand for the purpose of Covid-19 testing. It is not linked to any personal information or records and can only be used for the specific Covid-19 test it was generated for. The TER is not intended to replace the NISS or BIS and cannot be used for any other purposes outside of Covid-19 testing.

Unoffical NISS type

The unofficial NISS number type (const NISS::TYPE_UNOFFICIAL) is a fictitious identifier created solely for the purpose of distinguishing the generated numbers from one another. It has no official value and is not recognized by any government agency. The use of this number does not in any way affect the validity or accuracy of the generated NISS numbers.

Limitations

Accuracy of DOB calculation

Please note that in extremely rare cases, the calculation of the date of birth based on the Belgian National Identification Number (NISS) may not be accurate. This is due to a legal provision that states that if all possible sequence numbers have been used, the sixth digit representing the date of birth (in yymmdd format) is increased by one and the numbering in the sequence restarts from the beginning during a new registration. Therefore, it is important to verify the accuracy of the date of birth obtained from the NISS in case of doubts or inconsistencies.

References

Disclaimer

The NISS generator inclued in this package is provided for educational and testing purposes only. The generated NISS numbers are not official and should not be used for any official purpose. Any misuse of this tool to generate NISS numbers for fraudulent or illegal purposes is strictly prohibited and may lead to legal consequences. The author of this tool assumes no liability for any unauthorized or unlawful use of this tool.

Credits

Pierre Hélin

License

lgplv3-only GPL-3.0. Please see License File for more information.


All versions of niss with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package helip/niss contains the following files

Loading the files please wait ....