sorciulus/check-partita-iva

Libraries for the formal control of the Italian VAT ID

0.1.1 2017-12-18 14:02 UTC

This package is auto-updated.

Last update: 2024-10-29 04:47:30 UTC


README

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.