Defines a field type for international phone numbers.
Overview
The Phone Number module provides a robust field for phone numbers, supporting mobile and local formats. It includes a user-friendly widget for country selection, displaying flags and providing example formats in placeholders.
Additional features include setting default countries and automatic selection
based on IP Geolocation.
Features
- Versatile Field: Supports both mobile and local phone number formats.
- Country Selection: User-friendly widget for selecting country, displaying flags.
- Automatic Formatting: Automatically formats phone numbers based on selected country.
- Input Validation: Restricts input to numeric characters only, preventing letters.
- Unique Numbers: Ensures phone numbers are unique in the system.
- Default Country: Ability to set a default country for phone number entry.
- Geolocation Support: Automatically selects country based on IP Geolocation.
- Customizable Placeholders: Example formats in placeholders for user guidance.
- Phone Number Validation: Uses giggsey/libphonenumber-for-php for advanced validation.
- Phone Verification: Integrates with SMS frameworks for mobile number verification.
Project information
- Project categories: Administration tools, Content display, Content editing experience
247 sites report using this module
- Created by mahyarsbt on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
Releases
1.0.0-beta1
released 9 February 2025
Works with Drupal: ^8.8 || ^9 || ^10 || ^11
Fix bugs and prepare beta release for deployment and testing.
Install:
Development version: 1.0.x-dev updated 9 Feb 2025 at 23:24 UTC



