goszowski / stop-ru-email
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/goszowski/stop-ru-email
Requires
- php: >=5.6.0
- illuminate/support: 5.*
This package is auto-updated.
Last update: 2025-10-08 09:53:22 UTC
README
The extencion of Laravel-validation. Use this if you do not wish to receive emails from Russian domain zones.
Installation
-
Require this package in your composer.json and run composer update :
"goszowski/stop-ru-email": "1.*"
-
After composer update, add service providers to the
config/app.php
Goszowski\StopRuEmail\ServiceProvider::class,
-
Run
php artisan vendor:publish
Use
By template, in Your controller, use "not_ru_email" rule:
$this->validate($request, [ 'email' => 'not_ru_email', ]);