PHP code example of matejch / vat-id-checker
1. Go to this page and download the library: Download matejch/vat-id-checker library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
matejch / vat-id-checker example snippets
/** EU VAT checker */
$service = new \matejch\VatIdChecker\Vies();
$result = $service->validateVat('XX1234567890'); //object with data or false
$service->getMessage(); // response message