Download the PHP package dossierdata/laravel-email-validator without Composer
On this page you can find all versions of the php package dossierdata/laravel-email-validator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dossierdata/laravel-email-validator
More information about dossierdata/laravel-email-validator
Files in dossierdata/laravel-email-validator
Package laravel-email-validator
Short Description A more extensive email validator rule than the default provided by Laravel.
License MIT
Informations about the package laravel-email-validator
A more extensive email validator than the default provided by Laravel.
Laravel Email Validator
The Laravel Email Validator extends the Laravel Validator with the validate_email
rule.
How do I install it?
The easiest way is via Composer.
To install the latest version of Laravel Email Validator, run the command below:
Then register the service provider in config/app.php
:
Requirements
- Laravel 5.0 and up
How do I use it?
There are currently four different rules that you can choose from:
rfc
- Validates that the supplied value complies with RFC 5321 and RFC 5322rfc_no_warning
- Same as the previous rule but will fail on warningspf:127.0.0.1
- Validate that the domain of the email has a correct SPF record and that the supplied IP-address/range is authorized for this domaindns
- Validates that the domain of the email actually exists by checking for an MX or DSN record
Use is as a rule for Validator:
Use via dependency injection:
Contributing
See the CONTRIBUTING guidelines for this project.
License
The dossierdata/laravel-email-validator is open-sourced software licensed under the MIT license.
All versions of laravel-email-validator with dependencies
mika56/spfcheck Version ^1.1 || ^2.0
laravel/framework Version ^6.0 || ^7.0 || ^8.0 || ^9.0