juan88 / cuit-php
CUIT/CUIL Validator (Arg)
dev-master
2018-08-14 20:58 UTC
Requires
- php: >=7.0
Requires (Dev)
- phpunit/phpunit: ^6
This package is not auto-updated.
Last update: 2024-09-19 05:23:35 UTC
README
A CUIT/CUIL validator for PHP for use in Argentina.
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.