Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 438 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 438 Bytes

CUIT

A CUIT/CUIL validator for PHP for use in Argentina.

Build Status

It checks the CUITs length, type and checksum number. Accepts both hyphenated and only-numbers CUITs.

require_once __DIR__ . "vendor/autoload.php";

$cuit = new \Cuit\Cuit("20-12345678-9");

$cuit->validCuit(); //Will return true if the CUIT is valid.