Features
New interface
Changed isValid
method interface to
EmailValidator::isValid(String $email, EmailValidation $validation)
This allows for extensibility of the validator.
Out of the box implementations
- RFCValidation
- NoWarningsRFCValidation
- DNSCheckValidation
- SpoofCheckValidation
- MultipleValidationsWithAnd
Custom Warnings and Errors (Exceptions)
Since this version, all errors and Exceptions are custom to better express the error or warning