PhoneNumber
276 sites
Security covered
This module provides a field type for storing international phone numbers, offering features like country selection with flags, automatic formatting, input validation, and optional IP geolocation for default country selection. It also includes advanced validation using a popular library and can integrate with SMS frameworks for phone verification.
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.