Registry / utility / brick-phonenumber

brick-phonenumber

JSON →
library0.8.0phppackagistunverified

Phone number library

composer require brick/phonenumber
INSTALL
IMPORT
SIG · BRICK-PHONENUMBER
B
brick-phonenumber
utilityphpv0.8.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PhoneNumber
use Brick\PhoneNumber\PhoneNumber;

Parse and format a phone number

use Brick\PhoneNumber\PhoneNumber; $phone = PhoneNumber::parse('+1 212 555 1234'); echo $phone->formatInternational();
Debug
Known issues
breakingRequires PHP 8.1+ and ext-mbstring
fix
Upgrade PHP to 8.1+ and install mbstring extension
affects: >=0.8.0
Upgrade
Version history
0.8.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Meta
1
Resources
brick-phonenumber — pip install brick-phonenumber · libregistry