bespin/datavalidation-taxid

Library to verify tax ids

v1.3.1 2024-09-25 14:48 UTC

This package is auto-updated.

Last update: 2025-03-25 15:54:06 UTC


README

Library to verify tax ids

List of supported countries

Country Name Information
Germany Steuerliche Identifikationsnummer Wikipedia - Steuerliche Identifikationsnummer

How to use

composer require bespin/datavalidation-taxid

<?php
use Bespin\DataValidation;
if (DataValidation\TaxId::verify('xxx', DataValidation\Country::Germany)) {
    echo 'xxx is a valid taxId';
} else {
    echo 'xxx is not a valid taxId';
}