brick / phonenumber-doctrine
Doctrine type mappings for brick/phonenumber
Fund package maintenance!
Requires
- php: ^8.2
- brick/phonenumber: ~0.8.0
- doctrine/dbal: ^4.0
- doctrine/orm: ^3.0
Requires (Dev)
- ext-pdo: *
- ext-pdo_sqlite: *
- phpunit/phpunit: ^11.5
- symfony/cache: ^5.0 || ^6.0 || ^7.0
- vimeo/psalm: 6.15.1
This package is auto-updated.
Last update: 2026-03-01 16:16:09 UTC
README
Doctrine type mappings for brick/phonenumber.
Introduction
This library provides a type mapping to use PhoneNumber objects as Doctrine entity properties.
Installation
This library is installable via Composer:
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 for a list of changes introduced by each further 0.x.0 version.
