ogursan / phone-helper
Simple phone formatter
v1.1
2015-08-21 14:47 UTC
Requires
- php: >=5.4.0
This package is not auto-updated.
Last update: 2025-09-17 14:47:11 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