prometee/vies-client-bundle

European VAT Information Exchange System SOAP client bundle

Installs: 27 074

Dependents: 2

Suggesters: 0

Security: 0

Stars: 4

Watchers: 2

Forks: 1

Open Issues: 1

Type:symfony-bundle

v2.0.3 2022-11-30 18:57 UTC

README

Latest Version on Packagist Build Status Quality Score

European VAT Information Exchange System SOAP client

This library is designed to handle validation trough VIES Soap WebService.

See http://ec.europa.eu/taxation_customs/vies/ for more information.

Installation

Install using Composer :

$ composer require prometee/vies-client-bundle

Usage

Use it as a validation constraint in an Entity or a Model class.
You can also use it as a FormType field constraint.

use Prometee\VIESClientBundle\Constraints\VatNumber;

class User
{
    /**
     * @VatNumber(message="My custom error message")
     **/
    private $vatNumber;
}