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-12-05 19:56:16 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');