Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Phone Number (field)

1,579 sites Security covered
View on drupal.org

This module provides a field type for storing and validating international phone numbers, including optional extensions. It offers a country selector for easier input and can integrate with SMS Framework and Two-factor Authentication modules to verify phone numbers.

Phone Number is a field type that provides flexible validation and intelligent
storage of international telephone numbers through an intuitive UI. Users need
not enter their country-code - there's a nice little country-selector for that.
Telephone numbers of all types are supported and type validation can be
configured per field-instance. Phone Number fields also support (optionally)
collecting and storing extension along with the main phone number.

Validation is done using libphonenumber-for-php, the PHP version of Google's
library for parsing, formatting, and validating international phone numbers.
See https://github.com/giggsey/libphonenumber-for-php for more information.

Also included is the sub-module SMS Phone Number. SMS Phone Number exposes a
phone number field with SMS-capabilities. SMS phone number fields integrate
with the SMS Framework and Two-factor Authentication (TFA) modules. When paired
with the SMS Framework module, SMS Phone Number offers in-line number
verification via an intuitive, ajax-powered field widget. Users can enter and
verify ownership of their SMS-capable phone number in one step. Verification
codes are hashed and tokenized in the database.

Sub-module SMS Phone Number is untested and can contain bugs!

This module is a fork of the excellent Mobile Number module
(https://www.drupal.org/project/mobile_number), and aims to be a more
flexible solution, supporting international telephone numbers of all types, with
or without SMS-capabilities.

Integrates with:

- Feeds
- Migrate
- Telephone
- Devel
- SMS Framework
- TFA

Installation:

- Using composer, install as you would normally install a contributed Drupal
module.
- For SMS number verification, install the included SMS Phone Number
sub-module. Then install and configure the SMS Framework module with an SMS
gateway. (Untested)
- For two factor authentication, complete step two and then install the
Two-factor Authentication (TFA) module. (Untested)

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Mar 2025
Latest release
5 months ago
Releases (12 mo)
1
Maintenance
Active

Releases

Version Type Core Release date
2.0.0-alpha9 Pre-release 10–11 Mar 31, 2026
2.0.0-alpha8 Pre-release 9–11 Mar 28, 2025