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​

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow Phonelib

Phonelib Web Site

Other Useful Business Software
Train ML Models With SQL You Already Know Icon
Train ML Models With SQL You Already Know

BigQuery automates data prep, analysis, and predictions with built-in AI assistance.

Build and deploy ML models using familiar SQL. Automate data prep with built-in Gemini. Query 1 TB and store 10 GB free monthly.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Phonelib!

Additional Project Details

Programming Language

Ruby

Related Categories

Ruby Libraries

Registered

2025-04-24