Releases: brick/phonenumber
Releases · brick/phonenumber
0.6.0
💥 BC breaks
- Minimum PHP version is now
8.1
PhoneNumberType
and PhoneNumberFormat
are now native PHP enums
0.5.0
💥 BC breaks
- Minimum PHP version is now
7.4
0.4.1
✨ Improvements
- Static analysis: Psalm & PHPStan -compatible annotations for
PhoneNumberType
and PhoneNumberFormat
constants
0.4.0
✨ New features
PhoneNumber::getDescription()
💥 BC breaks
- The following classes are now
final
:
PhoneNumber
PhoneNumberFormat
PhoneNumberParseException
PhoneNumberType
0.3.0
✨ 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
✨ New method: PhoneNumber::getGeographicalAreaCode()
0.2.1
New method: PhoneNumber::isPossibleNumber()
Thanks @xificurk
0.2.0
Minimum PHP version is now 7.1.