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
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
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