Skip to content

Matej-ch/eu-vat-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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