PHP code example of kolyayurev / russian-email-validation

1. Go to this page and download the library: Download kolyayurev/russian-email-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/ */

    

kolyayurev / russian-email-validation example snippets



use Kolyayurev\RussianEmailValidation\Rules\RussianEmail;
 
$request->validate([
    'email' => ['email', new RussianEmail],
]);

bash
php artisan vendor:publish --tag="russian-email-validation-config"
bash
php artisan vendor:publish --tag="russian-email-validation-lang"