prometee/vies-client-bundle

European VAT Information Exchange System SOAP client bundle

Installs: 28 951

Dependents: 2

Suggesters: 0

Security: 0

Stars: 4

Watchers: 2

Forks: 1

Open Issues: 0

Type:symfony-bundle

v3.0.0 2025-02-26 17:37 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;
}