Yii2 validator, based on daveearley/Email-Validation-Tool to protect your site from users, who use 10-minutes mail services.
Install the latest version with
$ composer require ely/yii2-tempmail-validator
Once the extension is installed, simply use it in your models:
public function rules()
{
return [
[['email'], \Ely\Yii2\TempmailValidator::class],
];
}
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
This package was designed and developed within the Ely.by project team. We also thank all the contributors for their help.
The MIT License (MIT). Please see License File for more information.