Email Address is a PHP implementation of an Email Address value object.
The address is checked against RFC 3696, RFC 1123, RFC 4291, RFC 5321 and RFC 5322 thanks to is_email() code by Dominic Sayers.
License | Version | Status | SensioLabsInsight |
---|---|---|---|
Just use composer to add the dependency:
composer require ocubom/email-address
Or add the dependecy manually:
-
Update
composer.json
file with the lines:{ "require": { "ocubom/email-address": "^1.0.0" } }
-
And update the dependencies:
composer update "ocubom/email-address"
Current maintainer:
- Oscar Cubo Medina. Twitter: @ocubom.
Email Address is licensed under the MIT License — see the LICENSE
file
for details.
If you did not receive a copy of the license, contact with the author.
Includes "is_email()” code by Dominic Sayers:
Copyright © 2008—2011 Dominic Sayers (http://isemail.info) BSD License (http://www.opensource.org/licenses/bsd-license.php)