ocubom/email-address

Email address value object checked against RFC 3696, RFC 1123, RFC 4291, RFC 5321 and RFC 5322.

v0.1.0 2017-01-06 09:42 UTC

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:

  1. Update composer.json file with the lines:

    {
        "require": {
            "ocubom/email-address": "^1.0.0"
        }
    }
    
  2. And update the dependencies:

    composer update "ocubom/email-address"
    

Authorship

Current maintainer:

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)