stonkeep/cpf-cnpj

This package is abandoned and no longer maintained. No replacement package was suggested.

A Laravel Nova field.

0.0.1 2018-10-04 15:51 UTC

This package is auto-updated.

Last update: 2022-08-29 15:29:22 UTC


README

Mask and validation in a single field for both CPF and CNPJ The code will understand which of the two options is being inserted.

Install

Run this command into your nova project:

composer require stonkeep/cpf-cnpj

Add it to your Nova Resource:

use Stonkeep\CpfCpnj\CpfCpnj;
CpfCnpj::make('cpf');