ocubom / email-address
Email address value object checked against RFC 3696, RFC 1123, RFC 4291, RFC 5321 and RFC 5322.
Requires
- php: >=5.3.3
- dominicsayers/isemail: ^3.0
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is auto-updated.
Last update: 2024-10-24 12:41:12 UTC
README
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.
Installation
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"
Authorship
Current maintainer:
- Oscar Cubo Medina. Twitter: @ocubom.
Copyright and License
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.
is_email() License
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)