kolyayurev / russian-email-validation
Russian email validation rule for laravel
1.0
2023-08-02 17:44 UTC
Requires
- php: ^8.1
- illuminate/support: >=7.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.9
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^8.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
This package is not auto-updated.
Last update: 2024-11-21 22:10:45 UTC
README
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.