2017 © Pedro Peláez
 

library vatvalidation

A simple wrapper for VIES VAT Validation WebService.

image

drahosistvan/vatvalidation

A simple wrapper for VIES VAT Validation WebService.

  • Wednesday, March 21, 2018
  • by isti
  • Repository
  • 4 Watchers
  • 3 Stars
  • 429 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 6 Versions
  • 172 % Grown

The README.md

VAT Validation package for PHP

Build Status codecov Latest Stable Version Total Downloads StyleCI License, (*1)

Installation

Simply require the package via composer: composer require drahosistvan/vatvalidation, (*2)

How to use

$validation = new VatValidation();
$validation->validate('UK123321213');

if ($validation->valid) {
    print $validation->name;
    print $validation->address;
    print $validation->countryCode;
    print $validation->vatNumber;
    print $validation->valid;
}

It has a toArray method, so you can cast the validation data to an array., (*3)

$validation = new VatValidation();
$validation->validate('UK123321213');
var_dump($validation->toArray());

The Versions

21/03 2018

dev-master

9999999-dev https://github.com/drahosistvan/vatvalidation

A simple wrapper for VIES VAT Validation WebService.

  Sources   Download

MIT

The Requires

  • php >=5.0.1

 

The Development Requires

validation date time datetime vies vat eu vat vat validation

21/03 2018

1.0.2

1.0.2.0 https://github.com/drahosistvan/vatvalidation

A simple wrapper for VIES VAT Validation WebService.

  Sources   Download

MIT

The Requires

  • php >=5.0.1

 

The Development Requires

validation vies vat eu vat vat validation

21/03 2018

dev-dev

dev-dev https://github.com/drahosistvan/vatvalidation

A simple wrapper for VIES VAT Validation WebService.

  Sources   Download

MIT

The Requires

  • php >=5.0.1

 

The Development Requires

validation date time datetime vies vat eu vat vat validation

16/03 2018

1.0.1

1.0.1.0 https://github.com/drahosistvan/vatvalidation

A simple wrapper for VIES VAT Validation WebService.

  Sources   Download

MIT

The Requires

  • php >=5.0.1

 

The Development Requires

date time datetime

04/11 2017

1.0.0

1.0.0.0 https://github.com/drahosistvan/vatvalidation

A simple wrapper for VIES VAT Validation WebService.

  Sources   Download

MIT

The Requires

  • php >=5.0.1

 

The Development Requires

date time datetime

04/11 2017

1.0.0-beta

1.0.0.0-beta https://github.com/drahosistvan/vatvalidation

A simple wrapper for VIES VAT Validation WebService.

  Sources   Download

MIT

The Requires

  • php >=5.0.1

 

The Development Requires

date time datetime