PHP code example of mandado / pt-br-validator
1. Go to this page and download the library: Download mandado/pt-br-validator library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mandado / pt-br-validator example snippets
LaravelLegends\PtBrValidator\ValidatorProvider::class
$validator = Validator::make(
['telefone' => '(77)9999-3333'],
['telefone' => '
Validator::make($valor, $regras, ['celular_com_ddd' => 'O campo :attribute não é um celular'])