goszowski / stop-ru-email
1.0.1
2017-05-22 10:28 UTC
Requires
- php: >=5.6.0
- illuminate/support: 5.*
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-08 11:50:44 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.phpGoszowski\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', ]);