matejch / vat-id-checker
Service to check Vat id for EU countries
1.0.0
2022-06-17 17:53 UTC
Requires
- php: >=7.2.0
- ext-soap: *
Requires (Dev)
- phpunit/phpunit: ^8.5
README
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