Telephone Formatter

Categories

Component ID

2863656

Component name

Telephone Formatter

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

781

Component created

Component changed

Component body

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.