This class allow you to parse and format phone numbers. Optimised for french numbers but should works for a majority of numbers. You can also easily custom the parsing method to enhance other countries management.
flazzarotto / phonenumber Goto Github PK
View Code? Open in Web Editor NEWPHP class for phone number formatting