Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.48 KB

README.md

File metadata and controls

32 lines (24 loc) · 1.48 KB

check-partita-iva

Packagist Build Status Scrutinizer Code Quality Code Climate Issue Count Software License

Libraries for the formal control of the Italian VAT ID

Installation

Via Composer:

composer require sorciulus/check-partita-iva

Usage

<?php
require_once 'vendor/autoload.php';

use sorciulus\PartitaIva\PartitaIva;

$check = new PartitaIva();
$result = $check->setPartitaIva("07973780013")->isValid();
if ($result) {
    echo "Partita Iva is formally valid";
} else {
    echo "Partita Iva not valid";
}   

License

This Library is released under the MIT License. Please see License File for more information.