PHP code example of vesperabr / validation
1. Go to this page and download the library: Download vesperabr/validation 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/ */
vesperabr / validation example snippets
public function store(Request $request)
{
$validated = $request->validate([
'cpf' => '
use Vespera\Validation\Cpf;
$validation = Cpf::make('111.111.111-11')->validate();