Downloads
Stars
Version
Mask and validation in a single field for both CPF and CNPJ The code will understand which of the two options is being inserted.
Run this command into your nova project:
composer require stonkeep/cpf-cnpj
use Stonkeep\CpfCpnj\CpfCpnj;
CpfCnpj::make('cpf');