aran/vat-lookup

There is no license information available for the latest version (dev-master) of this package.

A very simple, light weight PHP client for validating any EU VAT number against the official europa.eu API

dev-master 2019-08-28 10:12 UTC

This package is not auto-updated.

Last update: 2025-06-13 12:07:59 UTC


README

A very simple, light weight PHP client for validating EU VAT numbers against the central europa.eu database.

Here's a very simple example of this client in action:

$vat_number = '123 4567 89'; // The VAT number you wish to lookup
$country_code = 'GB';

$details = (new vatRegistration)->checkVat($vat_number, $country_code);

var_dump($details)