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.