Releases: brick/phonenumber Releases · brick/phonenumber
0.8.0 20 Mar 13:01
Compare Sorry, something went wrong.
No results found ✨ Compatibility
Compatibility with libphonenumber-for-php v9 💥 BC breaks
Dropped compatibility with libphonenumber-for-php v7 and v8 0.7.0 24 Feb 21:32
Compare Sorry, something went wrong.
No results found 💥 BC breaks
The PhoneNumberParseException constructor now takes a libphonenumber\NumberParseException instance This change is unlikely to affect you, unless you're throwing PhoneNumberParseException instances yourself.
✨ New features
PhoneNumberParseException now has a $errorType property which contains a PhoneNumberParseErrorType enum New methods: PhoneNumber::formatForMobileDialing() PhoneNumber::getCarrierName() PhoneNumber::getTimeZones() 0.6.0 26 Nov 22:01
Compare Sorry, something went wrong.
No results found 💥 BC breaks
Minimum PHP version is now 8.1 PhoneNumberType and PhoneNumberFormat are now native PHP enums 0.5.0 23 Feb 21:45
Compare Sorry, something went wrong.
No results found 💥 BC breaks
Minimum PHP version is now 7.4 0.4.1 22 Feb 21:32
Compare Sorry, something went wrong.
No results found ✨ Improvements
Static analysis: Psalm & PHPStan -compatible annotations for PhoneNumberType and PhoneNumberFormat constants 0.4.0 06 Sep 22:03
Compare Sorry, something went wrong.
No results found ✨ New features
PhoneNumber::getDescription() 💥 BC breaks
The following classes are now final: PhoneNumber PhoneNumberFormat PhoneNumberParseException PhoneNumberType 0.3.0 05 Aug 09:30
Compare Sorry, something went wrong.
No results found ✨ New features
PhoneNumber::isEqualTo() PhoneNumber now implements JsonSerializable 💥 BC breaks
The library now requires the json extension (always available as of PHP 8.0) 0.2.2 06 Feb 21:40
Compare Sorry, something went wrong.
No results found ✨ New method: PhoneNumber::getGeographicalAreaCode()
0.2.1 13 Nov 07:16
Compare Sorry, something went wrong.
No results found New method: PhoneNumber::isPossibleNumber()
Thanks @xificurk
0.2.0 04 Oct 15:51
Compare Sorry, something went wrong.
No results found Minimum PHP version is now 7.1.