PHPackages                             gepur-it/email\_address\_type - 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. gepur-it/email\_address\_type

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

gepur-it/email\_address\_type
=============================

Gepur ERP PhoneNumber doctrine type

5.0.0(6y ago)218.7k[1 issues](https://github.com/gepur-it/email_address_type/issues)MITPHPPHP &gt;=7.3CI failing

Since Jun 12Pushed 6y ago2 watchersCompare

[ Source](https://github.com/gepur-it/email_address_type)[ Packagist](https://packagist.org/packages/gepur-it/email_address_type)[ Docs](https://github.com/gepur-it/email_address_type)[ RSS](/packages/gepur-it-email-address-type/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (5)Used By (0)

---

How to write doctrine type "email"
----------------------------------

[](#how-to-write-doctrine-type-email)

### to your Symfony project

[](#to-your-symfony-project)

Add `email:  GepurIt\EmailAddress\EmailDoctrineType` to types of dbal in doctrine. See example:

```
# Doctrine Configuration
doctrine:
    dbal:
        default_connection: default
        connections:
            default:
            some_other:

        types:
            email:  GepurIt\EmailAddress\EmailDoctrineType
```

SQL type = 'VARCHAR(120)'.

Example of entity:

```
namespace YourBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use JMS\Serializer\Annotation as JMS;
use Symfony\Component\Validator\Constraints as Assert;
use GepurIt\EmailAddress\Email

/** Class EntityWithEmailField
  * @package YourBundle\Entity
  *
  * @ORM\Table(
  *     name="your_table_name",
  *     options={"collate"="utf8mb4_unicode_ci", "charset"="utf8mb4"}
  * )
  * @ORM\Entity(repositoryClass="YourBundle\Repository\EntityWithEmailFieldRepository")
  * @ORM\HasLifecycleCallbacks()
  * @codeCoverageIgnore
  */
class EntityWithEmailField
{
    /**
      * @var Email
      *
      * @ORM\Column(name="email_address_column", type="email_address")
      * @JMS\Expose()
      * @JMS\Groups({"full", "Default"})
      */
    private $email;

    /**
     * @return Email
     */
    public function getEmail()
    {
        return $this->email;
    }

    /**
     * @param Email $email
     */
    public function setEmail(Email $email)
    {
        $this->email = $email;
    }
}
```

How to use service EmailHelper - see example:

```
services:
    email.helper:
        class: GepurIt\EmailAddress\EmailHelper
        public: true
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~179 days

Total

4

Last Release

2349d ago

Major Versions

1.1.0 → 4.3.02019-06-27

4.3.0 → 5.0.02019-12-04

PHP version history (3 changes)v1.0PHP ^7.1

4.3.0PHP ^7.3

5.0.0PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/b44ec6e263de3ca4efc54fd278a809b9bbf77eb85b0ebe5021c5408705e435be?d=identicon)[gepur-it](/maintainers/gepur-it)

---

Top Contributors

[![yawa20](https://avatars.githubusercontent.com/u/4233941?v=4)](https://github.com/yawa20 "yawa20 (4 commits)")

---

Tags

typeaddressemaildoctrine

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gepur-it-email-address-type/health.svg)

```
[![Health](https://phpackages.com/badges/gepur-it-email-address-type/health.svg)](https://phpackages.com/packages/gepur-it-email-address-type)
```

###  Alternatives

[symfony/property-info

Extracts information about PHP class' properties using metadata of popular sources

2.2k256.7M853](/packages/symfony-property-info)[fresh/doctrine-enum-bundle

Provides support of ENUM type for Doctrine2 in Symfony applications.

4636.8M12](/packages/fresh-doctrine-enum-bundle)[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58523.9M35](/packages/scienta-doctrine-json-functions)[oro/doctrine-extensions

Doctrine Extensions for MySQL and PostgreSQL.

34411.8M19](/packages/oro-doctrine-extensions)[martin-georgiev/postgresql-for-doctrine

Extends Doctrine with native PostgreSQL support for arrays, JSONB, ranges, PostGIS geometries, text search, ltree, uuid, and 100+ PostgreSQL-specific functions.

4485.3M4](/packages/martin-georgiev-postgresql-for-doctrine)[damienharper/auditor-bundle

Integrate auditor library in your Symfony projects.

4542.8M](/packages/damienharper-auditor-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
