matejch/vat-id-checker

Service to check Vat id for EU countries

1.0.0 2022-06-17 17:53 UTC

This package is auto-updated.

Last update: 2024-10-24 18:18:23 UTC


README

latest_tag test

This package uses service https://ec.europa.eu/taxation_customs/vies/

Install package

composer require matejch/vat-id-checker  "1.0.0" 

Usage

/** EU VAT checker */
$service = new \matejch\VatIdChecker\Vies();
$result = $service->validateVat('XX1234567890'); //object with data or false

$service->getMessage(); // response message

Remove package

composer remove matejch/vat-id-checker