Skip to content

CUIT/CUIL y CBU validator. Agnostic and Laravel compatible.

License

Notifications You must be signed in to change notification settings

pablorsk/argentina-data-validator

Repository files navigation

Argentina Data Validator

Validate Argentina CBU and CUIT/CUIL

Installation

Add the ArgentinaDataGenerator library to your composer.json file:

composer require pablorsk/argentina-data-validator

Usage

Without framework

<?php
echo \ArgentinaDataValidator\Cuit::isValid(20305423174)) ? 'valido' : 'no valido';  // valido

Laravel

<?php
public function store(Request $request)
{
    $validatedData = $request->validate([
        'cuit' => 'cuit',
    ]);

    // The entity post is valid...
}

About

CUIT/CUIL y CBU validator. Agnostic and Laravel compatible.

Resources

License

Stars

Watchers

Forks

Packages

No packages published