stonkeep/cpf-cnpj

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

A Laravel Nova field.

Maintainers

Package info

github.com/mateusgalasso/cpf-cnpj

pkg:composer/stonkeep/cpf-cnpj

Statistics

Installs: 3 458

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 1

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');