kolyayurev/russian-email-validation

Russian email validation rule for laravel

1.0 2023-08-02 17:44 UTC

This package is not auto-updated.

Last update: 2024-11-21 22:10:45 UTC


README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Installation

You can install the package via composer:

composer require kolyayurev/russian-email-validation

You can publish the config file with:

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

You can publish lang files with:

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

Usage

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

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

License

The MIT License (MIT). Please see License File for more information.