juan88/cuit-php

CUIT/CUIL Validator (Arg)

Maintainers

Package info

github.com/juan88/cuit

pkg:composer/juan88/cuit-php

Statistics

Installs: 77

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

dev-master 2025-06-04 00:52 UTC

This package is not auto-updated.

Last update: 2026-03-05 12:17:46 UTC


README

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.