PHPackages                             nordic/email-address-doctrine - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. nordic/email-address-doctrine

ActiveLibrary[Database &amp; ORM](/categories/database)

nordic/email-address-doctrine
=============================

Doctrine email address type.

1.0.0(7y ago)03MITPHPPHP ~7.1

Since May 2Pushed 7y ago1 watchersCompare

[ Source](https://github.com/nordic-alliance/email-address-doctrine)[ Packagist](https://packagist.org/packages/nordic/email-address-doctrine)[ Docs](https://github.com/nordic-alliance/email-address-doctrine)[ RSS](/packages/nordic-email-address-doctrine/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

Email Address Doctrine type
===========================

[](#email-address-doctrine-type)

[![PHP version](https://camo.githubusercontent.com/97305506464e94831168cc222f6fcad90133d869f7c94ada9567f09dfcac45da/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7068702d762f6e6f726469632d616c6c69616e63652f656d61696c2d616464726573732d646f637472696e652e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/97305506464e94831168cc222f6fcad90133d869f7c94ada9567f09dfcac45da/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7068702d762f6e6f726469632d616c6c69616e63652f656d61696c2d616464726573732d646f637472696e652e7376673f7374796c653d666c61742d737175617265)[![Software License](https://camo.githubusercontent.com/ff50f59b56435a5be0027bdf68a25fcbbfa33835727abc169c3856868fd79e92/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6e6f726469632d616c6c69616e63652f656d61696c2d616464726573732d646f637472696e652e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/5e3a28070e9c13f8cd6d5eeb8e5b983ced04a3b0572d4af129a7eff579cdf2b3/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6e6f726469632d616c6c69616e63652f656d61696c2d616464726573732d646f637472696e652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/nordic-alliance/email-address)[![Coverage Status](https://camo.githubusercontent.com/51e7f976c63187a8d02e582727d3f619be4c7db2fddbdfcbe0a45b641109b95f/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6e6f726469632d616c6c69616e63652f656d61696c2d616464726573732d646f637472696e652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/nordic-alliance/email-address/code-structure)[![Quality Score](https://camo.githubusercontent.com/9a9a77c675fd6207fd14984e94231e3f6e36fcba1efe0b1751b5308ade6a90f7/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6e6f726469632d616c6c69616e63652f656d61696c2d616464726573732d646f637472696e652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/nordic-alliance/email-address)

The **nordic/email-address-doctrine** package provides the ability to use [nordic/email-address](https://github.com/nordic-alliance/email-address) as a [Doctrine field type](https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/types.html).

Install
-------

[](#install)

Via Composer

```
$ composer require nordic/email-address-doctrine
```

### Configuration

[](#configuration)

To configure Doctrine to use **nordic/email-address** as a field type, you'll need to set up the following in your bootstrap:

```
