Download the PHP package vifer/vat-validation without Composer
On this page you can find all versions of the php package vifer/vat-validation. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download vifer/vat-validation
More information about vifer/vat-validation
Files in vifer/vat-validation
Download vifer/vat-validation
More information about vifer/vat-validation
Files in vifer/vat-validation
Vendor vifer
Package vat-validation
Short Description EU and non EU VAT number validation
License MIT
Package vat-validation
Short Description EU and non EU VAT number validation
License MIT
Please rate this library. Is it a good library?
Informations about the package vat-validation
EU/Non EU VAT Number Validation
About
- Validate a VAT number
- EU VAT number validation
- 2 validation levels
- Regex validation
- EU commission VIES service validation *If the service is down only the regex validation will be done
- 2 validation levels
- Non EU VAT number validation (South Korean, South Africa, New Zealand, Switzerland and Iceland)
- Regex validation
Usage
$validator = (new ValidatorFactory())->makeValidator($countryCode)
$validator->setVatNumber($vatNumber)
$validator->isValid()
$validator = EUValidator()
$validator->setCountryCode($countryCode)
$validator->setVatNumber($vatNumber)
$validator->isValid()
$validator = NonEUValidator()
$validator->setCountryCode($countryCode)
$validator->setVatNumber($vatNumber)
$validator->isValid()
Requirements
- PHP 5.6 >=
- Soap extension enabled
Disclaimer
Have a look at http://ec.europa.eu/taxation_customs/vies/viesdisc.do to know when/how you're allowed to use this service and his information
All versions of vat-validation with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6
The package vifer/vat-validation contains the following files
Loading the files please wait ...