This module adds standardized telephone number formatting options to Drupal's core Telephone field. It supports international, national, E164, and RFC3966 formats.
This module provides extra formatter to core's Telephone field. It utilizes the giggsey/libphonenumber-for-php library to provide support for standardized telephone formats:
- International
- National
- E164
- RFC3966
Requirements
In addition to core modules, this module has one external composer dependency: giggsey/libphonenumber-for-php library
Follow this doc page to learn more how to download module and its dependencies with composer.
Suggestions
It's recommended to use telephone_validation module to ensure certain data quality level. If telephone number could be parsed and stored in telephone field, we can expect it to be parsable and formattable by telephone_formatted field formatter.