I am looking at using libphonenumber to convert numbers into friendly local phone numbers
eg. if 19311234567 is entered it returns (931) 123 4567
I found a php version of libphonenumber here: https://github.com/davideme/libphonenumber-for-PHP but I cannot figure out how to use it to get what I am after.
So I am wondering if anyone knows what calls I need to make to it in order to get the phone number converted