sorciulus / check-partita-iva
Libraries for the formal control of the Italian VAT ID
Installs: 20 181
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: >=7.0
Requires (Dev)
- phpunit/phpunit: ^6.4
This package is auto-updated.
Last update: 2024-10-29 04:47:30 UTC
README
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.