ocubom / email-address
Email address value object checked against RFC 3696, RFC 1123, RFC 4291, RFC 5321 and RFC 5322.
Installs: 8 627
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
pkg:composer/ocubom/email-address
Requires
- php: >=5.3.3
- dominicsayers/isemail: ^3.0
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is auto-updated.
Last update: 2025-09-24 15:00:58 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.
| License | Version | Status | SensioLabsInsight |
|---|---|---|---|
Installation
Just use composer to add the dependency:
composer require ocubom/email-address
Or add the dependecy manually:
-
Update
composer.jsonfile 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)