PHP code example of tonystore / laravel-validate-ec
1. Go to this page and download the library: Download tonystore/laravel-validate-ec 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/ */
tonystore / laravel-validate-ec example snippets
$validatedData = $request->validate([
'cedula' => ['
use Tonystore\LaravelValidateEc\Rules\ValidDocumentEc;
$validatedData = $request->validate([
'cedula' => ['
sh
php artisan vendor:publish --provider="Tonystore\LaravelValidateEc\LaravelValidateEcProvider" --tag="validate-lang-es" // Validación en español
php artisan vendor:publish --provider="Tonystore\LaravelValidateEc\LaravelValidateEcProvider" --tag="validate-lang-en" // Validación en ingles