silassiai/laravel-email-validation

Validate your email with this email validation package on email filter, typos. dns and spoofing.

v1.0.1 2024-09-02 12:52 UTC

This package is auto-updated.

Last update: 2025-05-30 14:23:52 UTC


README

Validate your email with this email validation package on email filter, typos. dns and spoofing.

About laravel-email-validation

Solution to easily validate email.

Installation

You can install the package via composer:

composer require silassiai/laravel-email-validation

For typo checking you need to seed to get mail provider domains what we check for. It will create the needed table if it does'nt exists. We will make the list more complete in future versions, that will be updated with a cronjob.

php artisan silassiai-email-validation:seed

Typo Validation

Check if the e-mail has a domain typo's from a mail provider

EmailValidationFacade::for('silas@gmayll.com')->hasTypo()

Domain Validation

Check if the e-mail has a domain valid domain from a mail provider

EmailValidationFacade::for('silas@gmayll.com')->hasValidDomain()

Upgrading

Please see UPGRADING for details.

Changelog

Please see CHANGELOG for more information what has changed recently.

Credits

License

The MIT License. Please see License for more information.