goszowski / stop-ru-email
1.0.1
2017-05-22 10:28 UTC
Requires
- php: >=5.6.0
- illuminate/support: 5.*
This package is auto-updated.
Last update: 2024-12-08 07:59:52 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', ]);