PHPackages                             assoconnect/doctrine-types-bundle - 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. assoconnect/doctrine-types-bundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

assoconnect/doctrine-types-bundle
=================================

Custom Doctrine Types.

v2.16.0(2mo ago)820.7k↓44.7%2MITPHPPHP ^8.4CI passing

Since Aug 17Pushed 2mo ago7 watchersCompare

[ Source](https://github.com/assoconnect/doctrine-types-bundle)[ Packagist](https://packagist.org/packages/assoconnect/doctrine-types-bundle)[ RSS](/packages/assoconnect-doctrine-types-bundle/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (10)Dependencies (17)Versions (70)Used By (2)

AssoConnectDoctrineTypesBundle
==============================

[](#assoconnectdoctrinetypesbundle)

[![Build Status](https://github.com/assoconnect/doctrine-types-bundle/actions/workflows/build.yml/badge.svg)](https://github.com/assoconnect/doctrine-types-bundle/actions/workflows/build.yml)[![Coverage](https://camo.githubusercontent.com/c3d46a9b476f042e0e89671e46e398415f2f42205fb0a2cb1d9d02d456c7d81a/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6173736f636f6e6e6563745f646f637472696e652d74797065732d62756e646c65266d65747269633d636f766572616765)](https://sonarcloud.io/dashboard?id=assoconnect_doctrine-types-bundle)

This Symfony5 bundle provides the integration of [Symfony validation component](https://symfony.com/doc/current/validation.html) with [Doctrine entity custom type](https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/cookbook/custom-mapping-types.html) to avoid duplicate code for the following types:

- [Amount](/src/Doctrine/DBAL/Types/AmountType.php)
- [AbsolutePercentValue](/src/Doctrine/DBAL/Types/AbsolutePercentValueType.php)
- [BelgianEnterpriseNumber](/src/Doctrine/DBAL/Types/BelgianEnterpriseNumberType.php)
- [Bic](/src/Doctrine/DBAL/Types/BicType.php)
- [Country](/src/Doctrine/DBAL/Types/CountryType.php)
- [Currency](/src/Doctrine/DBAL/Types/CurrencyType.php)
- [Email](/src/Doctrine/DBAL/Types/EmailType.php)
- [FrenchRna](/src/Doctrine/DBAL/Types/FrenchRnaType.php)
- [FrenchSiren](/src/Doctrine/DBAL/Types/FrenchSirenType.php)
- [FrenchSiret](/src/Doctrine/DBAL/Types/FrenchSiretType.php)
- [Iban](/src/Doctrine/DBAL/Types/IbanType.php)
- [Ip](/src/Doctrine/DBAL/Types/IpType.php)
- [Latitude](/src/Doctrine/DBAL/Types/LatitudeType.php)
- [Locale](/src/Doctrine/DBAL/Types/LocaleType.php)
- [Longitude](/src/Doctrine/DBAL/Types/LongitudeType.php)
- [Money](/src/Doctrine/DBAL/Types/MoneyType.php)
- [PhoneLandline](/src/Doctrine/DBAL/Types/PhoneLandlineType.php)
- [PhoneMobile](/src/Doctrine/DBAL/Types/PhoneMobileType.php)
- [Phone](/src/Doctrine/DBAL/Types/PhoneType.php)
- [Postal](/src/Doctrine/DBAL/Types/PostalType.php)
- [SpanishNifType](/src/Doctrine/DBAL/Types/SpanishNifType.php)
- [Timezone](/src/Doctrine/DBAL/Types/TimezoneType.php)

It also supports nullable and non-nullable fields.

###  Health Score

64

—

FairBetter than 99% of packages

Maintenance88

Actively maintained with recent releases

Popularity32

Limited adoption so far

Community25

Small or concentrated contributor base

Maturity95

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~52 days

Total

55

Last Release

62d ago

Major Versions

v0.1.5 → v1.0.02018-08-28

v1.6.0 → v2.0.02020-03-16

PHP version history (8 changes)v0.1.0PHP ^7.1

V2.1PHP ^7.2

v2.4.1PHP ^7.4

v2.5.0PHP ^7.4|^8.0

v2.12.0PHP ^7.4|^8.2

v2.13.0PHP ^8.2

v2.14.1PHP ^8.3

v2.16.0PHP ^8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3177556?v=4)[Sylvain](/maintainers/sylfabre)[@sylfabre](https://github.com/sylfabre)

![](https://www.gravatar.com/avatar/1e8a878b223a3102fbff7208f2a66678425300efee73630144274b3118466abb?d=identicon)[TristanPouliquen](/maintainers/TristanPouliquen)

---

Top Contributors

[![sylfabre](https://avatars.githubusercontent.com/u/3177556?v=4)](https://github.com/sylfabre "sylfabre (51 commits)")[![TristanPouliquen](https://avatars.githubusercontent.com/u/9153231?v=4)](https://github.com/TristanPouliquen "TristanPouliquen (35 commits)")[![fguimier](https://avatars.githubusercontent.com/u/1842740?v=4)](https://github.com/fguimier "fguimier (14 commits)")[![guitoon](https://avatars.githubusercontent.com/u/3265716?v=4)](https://github.com/guitoon "guitoon (12 commits)")[![mathieu-bourlet](https://avatars.githubusercontent.com/u/6514541?v=4)](https://github.com/mathieu-bourlet "mathieu-bourlet (10 commits)")[![jwaguet](https://avatars.githubusercontent.com/u/48832885?v=4)](https://github.com/jwaguet "jwaguet (7 commits)")[![aplysie](https://avatars.githubusercontent.com/u/940987?v=4)](https://github.com/aplysie "aplysie (2 commits)")[![fredericbarthelet](https://avatars.githubusercontent.com/u/23530626?v=4)](https://github.com/fredericbarthelet "fredericbarthelet (2 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

doctrinetypes

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/assoconnect-doctrine-types-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/assoconnect-doctrine-types-bundle/health.svg)](https://phpackages.com/packages/assoconnect-doctrine-types-bundle)
```

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

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

An integration library for Laravel and Doctrine ORM

8465.5M96](/packages/laravel-doctrine-orm)[flow-php/doctrine-dbal-bulk

Bulk inserts and updates for Doctrine DBAL

14385.8k4](/packages/flow-php-doctrine-dbal-bulk)

PHPackages © 2026

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