snowcap / vat-validation
EU VAT number validation
Installs: 102 039
Dependents: 0
Suggesters: 0
Security: 0
Stars: 10
Watchers: 5
Forks: 20
pkg:composer/snowcap/vat-validation
Requires
- php: >=5.3.3
This package is not auto-updated.
Last update: 2025-10-07 10:53:20 UTC
README
About
Vat-Validation is a PHP class allowing you to
- Validate a VAT number
- Retrieve information like the name or the address of the company
The data is extracted from a European Commission webservice
It actually only works for European countries
Usage
See examples/example.php
Some available methods
$validation->isValid()
$validation->getName()
$validation->getDenomination()
$validation->getAddress()
Requirements
- PHP 5.3>
- Soap extension enabled
Disclaimer
Take 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