hubipe/company-identifiers

Library aims to validate national identifiers formats and VAT numbers formats of companies and business individuals.

v1.0.4 2023-05-24 10:55 UTC

This package is auto-updated.

Last update: 2024-10-24 14:21:06 UTC


README

Library aims to validate national identifiers formats and VAT numbers formats of companies and business individuals. The library does not validate actual existence of company with given ID nor the VAT registration in the registers. It purely validates the formats.

The library contains methods to validate format of these business identifiers plus for all the countries also the VAT number format:

  • ✔️ check number implemented
  • ❌ the identifier does not contain the check number
  • ⚠️ identifier contain check number, the algorithm is not known by library
  • ❓ identifier check number presence is unknown

The check number is not available in all formats or it has not been implemented yet. If you know the algorithm for the check number calculation and the library does not contain the check validation, feel free to create issue or PR.

Also if you know any other country or company ID/business individuals identifier formats/check digits algorithms, create an issue with link to relevant source or create a pull request.

Installation

composer require hubipe/company-identifiers