origammi/symfony-swiftmailer-email-validator

An extension to Symfony's EmailValidator which enforces the same grammar as Swiftmailer does.

Installs: 3 063

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 5

Forks: 0

Open Issues: 0

pkg:composer/origammi/symfony-swiftmailer-email-validator

1.0.0 2018-03-16 09:23 UTC

This package is not auto-updated.

Last update: 2025-10-12 11:15:56 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.