PHPackages                             brick/phonenumber-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. brick/phonenumber-doctrine

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

brick/phonenumber-doctrine
==========================

Doctrine type mappings for brick/phonenumber

0.6.0(2mo ago)548.3k↓36%1MITPHPPHP ^8.2CI passing

Since Aug 5Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/brick/phonenumber-doctrine)[ Packagist](https://packagist.org/packages/brick/phonenumber-doctrine)[ GitHub Sponsors](https://github.com/BenMorel)[ RSS](/packages/brick-phonenumber-doctrine/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (13)Versions (14)Used By (0)

brick/phonenumber-doctrine
==========================

[](#brickphonenumber-doctrine)

[![](https://raw.githubusercontent.com/brick/brick/master/logo.png)](https://raw.githubusercontent.com/brick/brick/master/logo.png)

Doctrine type mappings for [brick/phonenumber](https://github.com/brick/phonenumber).

[![Build Status](https://github.com/brick/phonenumber-doctrine/workflows/CI/badge.svg)](https://github.com/brick/phonenumber-doctrine/actions)[![Coverage](https://camo.githubusercontent.com/5fdd9288d32620d6b3e3d93fe74707bc14e27ff9a40f36f3bd32921b9331e0ab/68747470733a2f2f636f6465636f762e696f2f6769746875622f627269636b2f70686f6e656e756d6265722d646f637472696e652f67726170682f62616467652e737667)](https://codecov.io/github/brick/phonenumber-doctrine)[![Latest Stable Version](https://camo.githubusercontent.com/5649f313810817b1c6205ca56fa8c628a6d1f96833d6988c946e153a0be8138b/68747470733a2f2f706f7365722e707567782e6f72672f627269636b2f70686f6e656e756d6265722d646f637472696e652f762f737461626c65)](https://packagist.org/packages/brick/phonenumber-doctrine)[![Total Downloads](https://camo.githubusercontent.com/ed9e73d61cc9831e0390713da424eda3c421ff49799127e20e7a7318f262697e/68747470733a2f2f706f7365722e707567782e6f72672f627269636b2f70686f6e656e756d6265722d646f637472696e652f646f776e6c6f616473)](https://packagist.org/packages/brick/phonenumber-doctrine)[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](http://opensource.org/licenses/MIT)

Introduction
------------

[](#introduction)

This library provides a type mapping to use `PhoneNumber` objects as Doctrine entity properties.

Installation
------------

[](#installation)

This library is installable via [Composer](https://getcomposer.org/):

```
composer require brick/phonenumber-doctrine
```

Requirements
------------

[](#requirements)

This library requires PHP 8.2 or later.

Project status &amp; release process
------------------------------------

[](#project-status--release-process)

The current releases are numbered `0.x.y`. When a non-breaking change is introduced (adding new methods, optimizing existing code, etc.), `y` is incremented.

**When a breaking change is introduced, a new `0.x` version cycle is always started.**

It is therefore safe to lock your project to a given release cycle, such as `0.6.*`.

If you need to upgrade to a newer release cycle, check the [release history](https://github.com/brick/phonenumber-doctrine/releases) for a list of changes introduced by each further `0.x.0` version.

Package contents
----------------

[](#package-contents)

- [PhoneNumberType](https://github.com/brick/phonenumber-doctrine/blob/master/src/Types/PhoneNumberType.php)

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance87

Actively maintained with recent releases

Popularity35

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% 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 ~185 days

Recently: every ~199 days

Total

10

Last Release

79d ago

PHP version history (4 changes)0.1.0PHP ^7.1 || ^8.0

0.2.0PHP ^7.4 || ^8.0

0.3.0PHP ^8.1

0.6.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/57189121968030f0770811b461cc92f9c19c08f5c4767292f2ede48b7277cfad?d=identicon)[BenMorel](/maintainers/BenMorel)

---

Top Contributors

[![BenMorel](https://avatars.githubusercontent.com/u/1952838?v=4)](https://github.com/BenMorel "BenMorel (42 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (6 commits)")

---

Tags

brickdoctrinephonenumber

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/brick-phonenumber-doctrine/health.svg)

```
[![Health](https://phpackages.com/badges/brick-phonenumber-doctrine/health.svg)](https://phpackages.com/packages/brick-phonenumber-doctrine)
```

###  Alternatives

[scienta/doctrine-json-functions

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

58723.9M36](/packages/scienta-doctrine-json-functions)[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8425.3M87](/packages/laravel-doctrine-orm)[damienharper/auditor-bundle

Integrate auditor library in your Symfony projects.

4542.8M](/packages/damienharper-auditor-bundle)[knplabs/doctrine-behaviors

Doctrine Behavior Traits

92212.7M64](/packages/knplabs-doctrine-behaviors)[sonata-project/doctrine-orm-admin-bundle

Integrate Doctrine ORM into the SonataAdminBundle

46117.7M155](/packages/sonata-project-doctrine-orm-admin-bundle)[fresh/doctrine-enum-bundle

Provides support of ENUM type for Doctrine2 in Symfony applications.

4636.8M12](/packages/fresh-doctrine-enum-bundle)

PHPackages © 2026

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