r64/nova-cpf-cnpj-field

Brazilian CPF and CNPJ Field for Laravel Nova

v1.0.0 2018-08-27 19:29 UTC

This package is auto-updated.

Last update: 2024-11-05 19:50:34 UTC


README

This field provides built-in validation for a Brazilian CPF

Install

Run this command into your nova project:

composer require r64/nova-cpf-cnpj-field

Add it to your Nova Resource:

use R64\NovaCpfCnpjField\Cpf;
use R64\NovaCpfCnpjField\Cnpj;

Cpf::make('cpf');
Cnpj::make('cnpj');