EmailValidator
PHP library that validates email addresses against several RFCs, with pluggable validation strategies.
EmailValidator is a PHP library that checks email addresses against RFC-based rules and a set of extra strategies. A validator takes one strategy per check: the RFC check, a stricter check that fails on RFC warnings, a DNS check for mail-server records, a combinator that runs several strategies with a logical AND, a Message-ID check and a spoof check. Developers can implement their own strategy. It installs with Composer.
Worth knowing
The DNS check shows that a domain accepts mail, not that a particular mailbox exists. The spoof check and the DNS check need the PHP Intl extension. The project’s supported-versions table marks the 3.x line and older as end of life.
Identity
- Status
- Active
- Maintainer
- Eduardo Gulias Davis3
- Maintained by
- Individual
- First release
- 20134
Rendering and deploy
- Install with
- composer2
Releases
Adoption
Sources
- 2026-11-08: links, Written in, GitHub stars
api.github.com/repos/egulias/EmailValidator - 2026-11-08: links, Categories, License, Install with
github.com/egulias/EmailValidator/blob/4.x/README.md - 2026-11-08: Maintainer
github.com/egulias/EmailValidator/blob/4.x/LICENSE - 2026-11-08: First release, Runtime, Minimum runtime
repo.packagist.org/p2/egulias/email-validator.json - 2026-11-08: Current major version, Last release
api.github.com/repos/egulias/EmailValidator/releases/latest - 2026-11-08: Contributors
api.github.com/repos/egulias/EmailValidator/contributors?per_page=1 - 2026-11-08: Packagist downloads
packagist.org/packages/egulias/email-validator.json - 2026-11-08: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/packagist.org/packages/egulias%2Femail-validator