https://github.com/brick/phonenumber-doctrine
Doctrine type mappings for brick/phonenumber
https://github.com/brick/phonenumber-doctrine
Last synced: 4 months ago
JSON representation
Doctrine type mappings for brick/phonenumber
- Host: GitHub
- URL: https://github.com/brick/phonenumber-doctrine
- Owner: brick
- License: mit
- Created: 2021-08-05T10:20:44.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2026-02-27T14:26:35.000Z (4 months ago)
- Last Synced: 2026-02-27T18:28:54.392Z (4 months ago)
- Language: PHP
- Size: 33.2 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
brick/phonenumber-doctrine
========================

Doctrine type mappings for [brick/phonenumber](https://github.com/brick/phonenumber).
[](https://github.com/brick/phonenumber-doctrine/actions)
[](https://codecov.io/github/brick/phonenumber-doctrine)
[](https://packagist.org/packages/brick/phonenumber-doctrine)
[](https://packagist.org/packages/brick/phonenumber-doctrine)
[](http://opensource.org/licenses/MIT)
Introduction
------------
This library provides a type mapping to use `PhoneNumber` objects as Doctrine entity properties.
Installation
------------
This library is installable via [Composer](https://getcomposer.org/):
```bash
composer require brick/phonenumber-doctrine
```
Requirements
------------
This library requires PHP 8.2 or later.
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
----------------
- [PhoneNumberType](https://github.com/brick/phonenumber-doctrine/blob/master/src/Types/PhoneNumberType.php)