To install this package include it in your composer.json
composer require cardumen/cuit-cbu-validator:~2.1.4
Add the Service Provider to the provider
array in your config/app.php
Cardumen\CuitCbuValidator\LaravelCuitCbuValidator::class
Now you have a validator cuit and cbu
$rules = [
'cbu'=>['required',new \App\Rules\Cbu()],
'cuit'=>['required',new \App\Rules\Cuit()],
];
- Andrés Teszkiewicz - Github
- Cardumen - Github
This project is open-sourced software licensed under the MIT license