ogursan / phone-helper
Simple phone formatter
Installs: 20
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 16
pkg:composer/ogursan/phone-helper
Requires
- php: >=5.4.0
This package is not auto-updated.
Last update: 2026-02-04 16:53:03 UTC
README
Simple helper formatting phone numbers
Usage
In order to use the PhoneHelper, first you have to install it via composer:
composer require ogursan/phone-helper
Then you should create new instance of helper:
$phoneHelper = new Ogursan\PhoneHelper();
And now you can format your phone numbers:
$phoneHelper->phone('+79051234567'); // will return +7(905)123-45-67