1.3.2 • Published 4 years ago

laravel-cuit-validation-rule v1.3.2

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

Laravel Validator Rule for CUIT

Installation

To install this package include it in your composer.json

composer require globalinnovation/laravel-cuit-validation-rule

Add the following lines to the boot method of the AppServiceProvider class (Check Laravel documentation):

Validator::extend('cuit', 'GlobalInnovation\Validation\Rules\CUIT@validate');
Validator::replacer('cuit', "The CUIT is invalid.");

Remember to add the following line bellow namespace line of the AppServiceProvider class:

use Illuminate\Support\Facades\Validator;
1.3.2

4 years ago

1.3.1

4 years ago

1.0.2

4 years ago

1.0.0

4 years ago