maxmage / international-telephone-input
International Telephone Input module for Magento 2
Installs: 10 108
Dependents: 0
Suggesters: 0
Security: 0
Stars: 28
Watchers: 2
Forks: 46
Open Issues: 15
Language:JavaScript
Type:magento2-module
Requires
- php: 7.0.2|7.0.4|~7.0.6|~7.1.0
This package is not auto-updated.
Last update: 2025-04-16 23:45:13 UTC
README
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