Download the PHP package blockpoint/vat24api-php without Composer
On this page you can find all versions of the php package blockpoint/vat24api-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download blockpoint/vat24api-php
More information about blockpoint/vat24api-php
Files in blockpoint/vat24api-php
Download blockpoint/vat24api-php
More information about blockpoint/vat24api-php
Files in blockpoint/vat24api-php
Vendor blockpoint
Package vat24api-php
Short Description API wrapper for Vat24API
License MIT
Homepage https://github.com/blockpoint/vat24api-php
Package vat24api-php
Short Description API wrapper for Vat24API
License MIT
Homepage https://github.com/blockpoint/vat24api-php
Keywords Blockpointvat24api-php
Please rate this library. Is it a good library?
Informations about the package vat24api-php
API wrapper for Vat24API
A PHP wrapper for the Vat24API service, which provides VAT and EORI number validation for EU and UK businesses. This package makes it easy to integrate VAT and EORI validation into your PHP applications.
Installation
You can install the package via composer:
Usage
Available Methods
Validate VAT Number
You can also perform a mutual validation by providing a requester country code and VAT number:
Validate EORI Number
Response Methods
The ValidationResponse
object provides the following methods:
isValid()
: Returns whether the VAT/EORI number is validhasError()
: Returns whether the response contains an API errorgetErrorMessage()
: Returns the error message if anygetStatusCode()
: Returns the HTTP status codegetMessage()
: Returns the status messagegetCountryCode()
: Returns the country codegetVatNumber()
: Returns the VAT numbergetEoriNumber()
: Returns the EORI numbergetValidationStatus()
: Returns the validation statusgetFaultString()
: Returns the fault string if validation failedgetRequestDate()
: Returns the request dategetConsultationNumber()
: Returns the consultation numbergetConsultationAuthority()
: Returns the consultation authoritygetCompanyName()
: Returns the company namegetCompanyAddress()
: Returns the company addresstoArray()
: Returns the raw response data as an array
Testing
License
The MIT License (MIT). Please see License File for more information.
All versions of vat24api-php with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
The package blockpoint/vat24api-php contains the following files
Loading the files please wait ....