International Telephone Input
maxmage/international-telephone-input
Adds international telephone input with country flag dropdown to phone number fields. It formats and validates phone numbers using Google's libphonenumber.
Build Tests
Code Quality
Tested on Magento 2.4.8-p3
Recent Test History
Each release is tested against the latest Magento version at that time.
Looking for Contributors
Composer installation fails. Your contribution could help the entire Magento community!
Share This Module's Status
README
Loaded from GitHubInternational Telephone Input module for Magento 2
The module for Magento 2 based on a jQuery plugin for entering and validating international telephone numbers https://github.com/jackocnr/intl-tel-input/. The utilities script (build/js/utils.js) is a custom build of Google's libphonenumber.
Integration to Magento 2 a jQuery plugin for entering and validating international telephone numbers. It adds a flag dropdown to telephone fields, detects the user's country, displays a relevant placeholder and provides formatting/validation methods. At the current moment not all features implement for Magento 2., plugin provides such possibility.

The demo page of a jQuery plugin, not Magento module.
Installation
-
Go to Magento 2 root directory
-
Enter following commands to install module:
composer require maxmage/international-telephone-input -
Enter following commands to enable module:
php bin/magento module:enable MaxMage_InternationalTelephoneInput php bin/magento setup:upgrade php bin/magento cache:clean
Configuration
-
Enable the International Telephone Input module in Magento® Admin under Stores > Configuration > Customers > International Telephone Input.

This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.