silassiai / laravel-email-validation
Validate your email with this email validation package on email filter, typos. dns and spoofing.
Installs: 2 387
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 2
Open Issues: 0
Requires
- php: ^8
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.
- Validate against typos Typo Validation
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.