LaravelPackages.net
Acme Inc.
Toggle sidebar
cleaniquecoders/laravel-blacklist

Validation disposable email domain

1.989
2
1.5.0
About cleaniquecoders/laravel-blacklist

cleaniquecoders/laravel-blacklist is a Laravel package for validation disposable email domain. It currently has 2 GitHub stars and 1.989 downloads on Packagist (latest version 1.5.0). Install it with composer require cleaniquecoders/laravel-blacklist. Discover more Laravel packages by cleaniquecoders or browse all Laravel packages to compare alternatives.

Last updated

Validate Disposable Email Domain

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Validate the email provided either in the list of blacklisted domain.

Installation

You can install the package via composer:

composer require cleaniquecoders/laravel-blacklist

You can publish the config file with:

php artisan vendor:publish --tag="blacklist-config"

Then install list of disposable email list:

php artisan blacklist:install

Usage

use CleaniqueCoders\LaravelBlacklist\Rules\Blacklist;

$request->validate([
    'email' => [new Blacklist]
]);

// OR

Validator::validate([
    'email' => 'malinator.com',
], [
    'email' => [new Blacklist],
]);

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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

Comments