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 2w ago

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 57% 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

2399d 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

[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.

4535.7M4](/packages/martin-georgiev-postgresql-for-doctrine)[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8405.5M96](/packages/laravel-doctrine-orm)[fresh/doctrine-enum-bundle

Provides support of ENUM type for Doctrine2 in Symfony applications.

4627.0M12](/packages/fresh-doctrine-enum-bundle)[flow-php/doctrine-dbal-bulk

Bulk inserts and updates for Doctrine DBAL

14361.1k3](/packages/flow-php-doctrine-dbal-bulk)[vasek-purchart/doctrine-date-time-immutable-types

Doctrine DateTimeImmutable types

43229.4k](/packages/vasek-purchart-doctrine-date-time-immutable-types)[vasek-purchart/doctrine-date-time-immutable-types-bundle

Bundle integration of Doctrine DateTimeImmutable types for Symfony

1085.6k](/packages/vasek-purchart-doctrine-date-time-immutable-types-bundle)

PHPackages © 2026

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