NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #43 most downloaded on Packagist
A library for validating emails against several RFCs
Latest stable
4.0.5
Last release today
22 Nov 2026
Release timing varies
gaps range from 8 days to 1.7 years
Some releases are documented
notes for 34 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
67 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
Improve actions and deps by @egulias in #423
Full Changelog: 4.0.4...4.0.5
Test for #317 by @egulias in #397
Full Changelog: 4.0.3...4.0.4
Your coding agent can read these notes before it upgrades. Set up the MCP server →
ci: fix deprecation for github actions by @Chris53897 in https://github.com/egulias/EmailValidator/pull/391
Full Changelog: https://github.com/egulias/EmailValidator/compare/4.0.2...4.0.3
Fixed typo in CHANGELOG.md by @lyrixx in https://github.com/egulias/EmailValidator/pull/363
AAAA check separately by @crishoj in https://github.com/egulias/EmailValidator/pull/376Full Changelog: https://github.com/egulias/EmailValidator/compare/4.0.1...4.0.2
DNS record check now passes if email address has no top-level domain by @kergekacsa in https://github.com/egulias/EmailValidator/pull/355
Full Changelog: https://github.com/egulias/EmailValidator/compare/4.0.0...4.0.1
Upgrade to doctrine/lexer v3.x by @Ph0tonic in https://github.com/egulias/EmailValidator/pull/344
Full Changelog: https://github.com/egulias/EmailValidator/compare/3.2.5...4.0.0
Nothing published for this version
GitHub Actions by @driesvints in https://github.com/egulias/EmailValidator/pull/348
composer.lock removedFull Changelog: https://github.com/egulias/EmailValidator/compare/3.2.4...3.2.5
Allow doctrine/lexer 2 by @derrabus in https://github.com/egulias/EmailValidator/pull/345
Full Changelog: https://github.com/egulias/EmailValidator/compare/3.2.3...3.2.4
Bump guzzlehttp/guzzle from 7.4.3 to 7.4.5 by @dependabot in https://github.com/egulias/EmailValidator/pull/326
Full Changelog: https://github.com/egulias/EmailValidator/compare/3.2.1...3.2.3
Bump guzzlehttp/guzzle from 7.4.3 to 7.4.5 by @dependabot in #326
Full Changelog: 3.2.1...3.2.3
Changelog
Full Changelog: https://github.com/egulias/EmailValidator/compare/3.2.1...3.2.2
Nothing published for this version
Nothing published for this version
Nothing published for this version
From #290 a new validator has been added. Follows RFC2822 for message-id to validate saidfield, that has some differences in both local (id-left) and
From #290 a new validator has been added. Follows RFC2822 for message-id to validate saidfield, that has some differences in both local (id-left) and domain (id-right) part.
Nothing published for this version
Access to local part and domain part from EmailParser
Egulias\EmailValidator\Validation\SpoofCheckValidation has moved to Egulias\EmailValidator\Validation\Extra\SpoofCheckValidationPHP version upgrade requirement will happen via MINOR (3.x) version upgrades of the library, following the adoption level by major frameworks.
To contributors, be it with PRs, reporting issues or supporting otherwise.
Including: #278 #276 #273
Including: #278 #276 #273
Added Github's sponsor button Improves:
Added Github's sponsor button Improves: #272 #186 #130
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
See #250 Replaces 2.19.0. Use of a get_dns_record PHP native function to get improved DNS validation.
See #250
Replaces 2.19.0.
Use of a get_dns_record PHP native function to get improved DNS validation.
Nothing published for this version
Nothing published for this version
See #228 & manual
See #228 & manual
Nothing published for this version
Nothing published for this version
Nothing published for this version
#220 Schema update. #216 Docs
#220 Schema update. #216 Docs
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fixed * #200 * #197 * #198
Fixed
Nothing published for this version
Nothing published for this version
* #173 Add fallback for when INTL_IDNA_VARIANT_UTS46 is not supported (@tomsommer) * #174 Correctly check for intl extension in SpoofCheck (@tomsommer
Nothing published for this version
Nothing published for this version
According to RFC2181, every DNS query needs to have a . at the end of the name record you are requesting.
According to RFC2181, every DNS query needs to have a . at the end of the name record you are requesting.
This will show that that name record is the root of the domain you are asking In some cases, when the . is missing, the hostname of the server the code is running on will be appended to the name record when checkdnsrr() is being executed and this will in turn return a false positive when there is a wildcard DNS record for the root domain of the hostname of the server.
- #123 Readme - #124 Returned errors for multiple validations - #126 Fix NoRFCValidation to return InvalidEmail error
Allow MultipleValidationWithAnd to stop with the first failure.
Allow MultipleValidationWithAnd to stop with the first failure.
Fix #115 - fixed DNSCheckValidation bug
Changed isValid method interface to EmailValidator::isValid(String $email, EmailValidation $validation) This allows for extensibility of the validator
Changed isValid method interface to
EmailValidator::isValid(String $email, EmailValidation $validation)
This allows for extensibility of the validator.
Since this version, all errors and Exceptions are custom to better express the error or warning
Nothing published for this version
Nothing published for this version
Nothing published for this version
According to RFC2181, every DNS query needs to have a . at the end of the name record you are requesting.
According to RFC2181, every DNS query needs to have a . at the end of the name record you are requesting.
This will show that that name record is the root of the domain you are asking In some cases, when the . is missing, the hostname of the server the code is running on will be appended to the name record when checkdnsrr() is being executed and this will in turn return a false positive when there is a wildcard DNS record for the root domain of the hostname of the server.
To allow for substitution where needed
To allow for substitution where needed
- Documentation editions - Backslash in domain bug fix
Nothing published for this version
Improve parenthesis control for unclosed parenthesis by @whyte624
Improve parenthesis control for unclosed parenthesis by @whyte624
Nothing published for this version
Improve domain validations for invalid domain tokens e.g ", >, <
", >, <EmailLexer::S_EMPTY") #57Fixed dependency for doctrine/lexerto ~1.0, thanks @Ocramius for tagging.
doctrine/lexerto ~1.0, thanks @Ocramius for tagging.test@fo;o.com like emails.Control of ill formed UTF-8 chars and control characters for wrongly written emails with UTF8 chars Thanks @masakielastic for reporting
Control of ill formed UTF-8 chars and control characters for wrongly written emails with UTF8 chars Thanks @masakielastic for reporting
A regression was introduced in 1.2.4 for long local parts. Thanks to @craue
A regression was introduced in 1.2.4 for long local parts. Thanks to @craue
See #32 Error was caused by wrong negation and use of checkdnsr wasn't been taken into account when strict was set. Now emails with warnings will fail
See #32
Error was caused by wrong negation and use of checkdnsr wasn't been taken into account when strict was set.
Now emails with warnings will fail when strict && DNS check or when strict with no DNS
Also, DNS check only raises warnings.
Improved detection of 4 valid email addresses
One column per quarter.