Module Description
Drupal module for entering and validating international telephone number.
Based on/uses the Javascript plugin intl-tel-input by jackocnr
Attention Version <= 8.x-1.3
This module requires no modules outside of Drupal core.
Version >= 8.x-1.4
Since the module requires an external library, Composer must be used.
composer require "drupal/phone_international"Version >= 3.x
Manual Version Download it from the release page and place it in Drupal's library folder.
Composer Version It's recommended to use asset-packagist to install JavaScript libraries. Check next steps:
* Add the Composer Installers Extender PHP package by oomphinc to your project's root composer.json file, by running the following command: composer require oomphinc/composer-installers-extender
* Add Asset Packagist to the "repositories" section of your project's root composer.json. { "type": "composer", "url": "https://asset-packagist.org" }
* Ensure that NPM and Bower assets are registered as new "installer-types" and, in addition to type:drupal-library, they are registered in "installer-paths" to be installed into Drupal's /libraries folder, within the "extra" section of your project's root composer.json file. "extra": { "installer-types": [ "npm-asset", "bower-asset" ], "installer-paths": { "web/libraries/{$name}": [ "type:drupal-library", "type:npm-asset", "type:bower-asset" ] } }
* You may now require libraries from NPM or Bower via Composer on the command line: composer require "npm-asset/intl-tel-input:^17.0"
Based on/uses the Javascript plugin intl-tel-input by jackocnr
Attention Version <= 8.x-1.3
This module requires no modules outside of Drupal core.
Version >= 8.x-1.4
Since the module requires an external library, Composer must be used.
composer require "drupal/phone_international"Version >= 3.x
Manual Version Download it from the release page and place it in Drupal's library folder.
Composer Version It's recommended to use asset-packagist to install JavaScript libraries. Check next steps:
* Add the Composer Installers Extender PHP package by oomphinc to your project's root composer.json file, by running the following command: composer require oomphinc/composer-installers-extender
* Add Asset Packagist to the "repositories" section of your project's root composer.json. { "type": "composer", "url": "https://asset-packagist.org" }
* Ensure that NPM and Bower assets are registered as new "installer-types" and, in addition to type:drupal-library, they are registered in "installer-paths" to be installed into Drupal's /libraries folder, within the "extra" section of your project's root composer.json file. "extra": { "installer-types": [ "npm-asset", "bower-asset" ], "installer-paths": { "web/libraries/{$name}": [ "type:drupal-library", "type:npm-asset", "type:bower-asset" ] } }
* You may now require libraries from NPM or Bower via Composer on the command line: composer require "npm-asset/intl-tel-input:^17.0"
Module Link
Project Usage
1116
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to solve the task of entering and validating international telephone numbers in Drupal websites.
Data Name
phone_international