To get started with laravellegends/pt-br-validator, you can install it using the command:
composer require laravellegends/pt-br-validator
You can validate the input by passing cpf validation rule:
use Filament\Forms\Components\TextInput; //cpfTextInput::make('cpf') ->rule('cpf') ->maxLength(14) ->mask(fn (TextInput\Mask $mask) => $mask->pattern('000.000.000-00')),
No comments yet…