PHP code example of square-bit / laravel-eva

1. Go to this page and download the library: Download square-bit/laravel-eva 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/ */

    

square-bit / laravel-eva example snippets


php artisan vendor:publish --provider="Squarebit\EVA\EVAServiceProvider" --tag="config"

    return Validator::make($data, [
        [...]
        'email' => ['

use Squarebit\EVA\Rules\EVAValidated

[...]

    return Validator::make($data, [
        [...]
        'email' => [new EVAValidated, '