Skip to content

pemedina/checkvat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CheckVat WebService Wrapper

Introduction

A simple client for VIES.

Requirements

  • PHP >= 7.4 (with soap support)

Getting started

Composer

$ composer require pemedina/checkvat

Usage

The library can be included & used on any PHP application.

Examples

<?php

use CheckVat\checkVat as Vat;
use CheckVat\checkVatService;

require __DIR__ . '/vendor/autoload.php';

$service = new checkVatService();

$param = new Vat;

$param->countryCode='ES';
$param->vatNumber='B78917457';
$result = $service->checkVat( $param);

var_dump ( $result);

Feedback and questions

Found a bug or missing a feature? Don't hesitate to create a new issue here on GitHub.

About

a PHP Wrapper to to check foreign VAT IDs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages