Skip to content

Yii2 validator to prevent using tempmail services or any variable domains

License

Notifications You must be signed in to change notification settings

elyby/yii2-tempmail-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yii2 Tempmail Validator

Latest Version on Packagist Software License Total Downloads

Yii2 validator, based on daveearley/Email-Validation-Tool to protect your site from users, who use 10-minutes mail services.

Installation

Install the latest version with

$ composer require ely/yii2-tempmail-validator

Usage

Once the extension is installed, simply use it in your models:

public function rules()
{
    return [
        [['email'], \Ely\Yii2\TempmailValidator::class],
    ];
}

Change log

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

This package was designed and developed within the Ely.by project team. We also thank all the contributors for their help.

License

The MIT License (MIT). Please see License File for more information.

About

Yii2 validator to prevent using tempmail services or any variable domains

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages