NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1325 most downloaded on Packagist
Integrates libphonenumber into your Symfony application
Latest stable
v4.2.5
Last release 1 years ago
14 Oct 2025
Ships fairly regularly
a new release about every 4 months
Most releases are documented
notes for 36 of 51 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
51 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
Allow Symfony 8 by @jmsche in https://github.com/odolbeau/phone-number-bundle/pull/208
Full Changelog: https://github.com/odolbeau/phone-number-bundle/compare/v4.2.4...v4.2.5
move to php format for Symfony DI config by @dmaicher in https://github.com/odolbeau/phone-number-bundle/pull/207
Full Changelog: https://github.com/odolbeau/phone-number-bundle/compare/v4.2.3...v4.2.4
Fix test suite for Symfony 7.4 by @Nek- in https://github.com/odolbeau/phone-number-bundle/pull/203
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Full Changelog: https://github.com/odolbeau/phone-number-bundle/compare/v4.2.2...v4.2.3
Removed deprecation notice on usage of a phone number format string in Twig. #202
Full Changelog: https://github.com/odolbeau/phone-number-bundle/compare/v4.2.1...v4.2.2
Fix form type equality checks with array form data by @mbabker in https://github.com/odolbeau/phone-number-bundle/pull/199
Full Changelog: https://github.com/odolbeau/phone-number-bundle/compare/v4.2.0...v4.2.1
CI: increment Sf test release + ubuntu version by @Nek- in https://github.com/odolbeau/phone-number-bundle/pull/189
Full Changelog: https://github.com/odolbeau/phone-number-bundle/compare/v4.1.0...v4.2.0
Add arabic translations by @maksBest262626 in https://github.com/odolbeau/phone-number-bundle/pull/174
Full Changelog: https://github.com/odolbeau/phone-number-bundle/compare/v4.0.1...v4.1.0
Coding Style - CSFixer by @maxhelias in https://github.com/odolbeau/phone-number-bundle/pull/172
Full Changelog: https://github.com/odolbeau/phone-number-bundle/compare/v4.0.0...v4.0.1
Twig function phone_number_format
phone_number_formatphone_number_is_type Misd\PhoneNumberBundle\Validator\Constraints\PhoneNumber__construct() : $options arguments isn't not supported has first argument anymoreMisd\PhoneNumberBundle\Validator\Constraints\PhoneNumber::$errorNamesMisd\PhoneNumberBundle\Validator\Constraints\PhoneNumber::getTypedeclare(strict_types=1); at the beginning of each PHP fileFull Changelog: https://github.com/odolbeau/phone-number-bundle/compare/v3.10.0...v4.0.0
Allow Symfony 7 & drop support for unmaintained Symfony versions by @jmsche in https://github.com/odolbeau/phone-number-bundle/pull/158
Full Changelog: https://github.com/odolbeau/phone-number-bundle/compare/v3.9.3...v3.10.0
feat: Add option to allow display of the flag in the form widget by @DesLynx in https://github.com/odolbeau/phone-number-bundle/pull/152
Full Changelog: https://github.com/odolbeau/phone-number-bundle/compare/v3.9.2...v3.9.3
[Serializer] fix deprecation for symfony/serializer 6.3 by @dmaicher in https://github.com/odolbeau/phone-number-bundle/pull/148
Full Changelog: https://github.com/odolbeau/phone-number-bundle/compare/v3.9.1...v3.9.2
:adhesive_bandage: Fix deprecation notice in the constraint by @Nek- in https://github.com/odolbeau/phone-number-bundle/pull/139
Add Hungarian translations #129
This value is not a valid number. that was not translated inside the bundle is now This value is not a valid phone number. (and is translated into many languages) #128Add portuguese translations in #126
Maintenance: added return types on methods, avoid deprecation trigger, make the bundle future-proof
Deprecate PhoneNumber::$errorNames in favour of PhoneNumber::ERROR_NAMES.
PhoneNumber::$errorNames in favour of PhoneNumber::ERROR_NAMES.fix of the options format on the validator constraint by @KDederichs in https://github.com/odolbeau/phone-number-bundle/pull/102
Full Changelog: https://github.com/odolbeau/phone-number-bundle/compare/v3.6.1...v3.6.2
php8 return types compatible by @maikelohcfg in https://github.com/odolbeau/phone-number-bundle/pull/99
Full Changelog: https://github.com/odolbeau/phone-number-bundle/compare/v3.6.0...v3.6.1
doc: update docs with attribute usage instead of annotations by @Nek- in https://github.com/odolbeau/phone-number-bundle/pull/92
Full Changelog: https://github.com/odolbeau/phone-number-bundle/compare/v3.5.0...v3.6.0
### Added * Added support PHP8 attribute * Drop support for PHP < 7.4 * Drop support for Symfony < 4.4 See CHANGELOG
See CHANGELOG
New twig template for Bootstrap 5
New twig template for Bootstrap 4
new twig filter phone_number_format_out_of_country_calling_number
Can now define a property path for the region on PhoneNumber constraint
PhoneNumber constraintRevert "Improve PhoneNumber constraint" as it was a BC break
PhoneNumber constraint" as it was a BC breakSee CHANGELOG
* Improve PhoneNumber constraint See CHANGELOG
PhoneNumber constraintSee CHANGELOG
* Add PHP 8 support * Improve PhoneNumberNormalizer See CHANGELOG
PhoneNumberNormalizerSee CHANGELOG
* Fix PhoneNumberValidator See CHANGELOG
See CHANGELOG
Can now define default region from config
See CHANGELOG
Use replace keyword instead of conflict in composer.json
See CHANGELOG
Add support of null values in phone number deserializer
PhoneNumber constraints & validator to accept more than 1 type.See CHANGELOG
Remove deprecated DIC parameters & aliases
See CHANGELOG
* Add Czech translations * Add Turkish translations * Add Ukrainian translations See CHANGELOG
See CHANGELOG
* Fix PhoneNumberBundle class See CHANGELOG
See CHANGELOG
Drop support for JMS Serializer
See CHANGELOG
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.