origammi / symfony-swiftmailer-email-validator
An extension to Symfony's EmailValidator which enforces the same grammar as Swiftmailer does.
Installs: 3 062
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 6
Forks: 0
Open Issues: 0
Requires
- php: >=5.5
- egulias/email-validator: ^2.0
- swiftmailer/swiftmailer: >=4.1,<6.0
- symfony/validator: >=2.7,<3.0
This package is not auto-updated.
Last update: 2024-11-10 06:28:11 UTC
README
A PHP library that adds a Symfony validator which validates fields against the same rules as Swiftmailer does when checking email addresses before sending them out.
The primary purpose is to have a tool which enables developers to ensure when they accept an email from an input that Swiftmailer will later, when sending an email, will not refuse the email address.
TODO
- Make library compliant with Symfony >= 3.0. Currently we are using deprecated API when adding constraint violations.
- Make library compliant with Swiftmailer >= 6.0. They refactored the way they define their email address grammar.