Phonelib is a Ruby gem that provides phone number validation and formatting capabilities by leveraging Google's libphonenumber library. It enables developers to parse, validate, and format international phone numbers within Ruby applications.
Features
- Validates phone numbers against international formats
- Formats numbers into E.164, international, and national formats
- Determines phone number types (e.g., mobile, fixed-line)
- Supports geocoding to identify the country of the number
- Integrates with Rails for model validations
- Open-source under the MIT license
Categories
LibrariesLicense
MIT LicenseFollow Phonelib
Other Useful Business Software
Gemini 3 and 200+ AI Models on One Platform
Build, govern, and optimize agents and models with Gemini Enterprise Agent Platform.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Phonelib!