daddyz/phonelib
Ruby gem for phone validation and formatting using google libphonenumber library data observed · 2026-08-28
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 99
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 24
- age_days: 5077
- days_rel: 7
- days_push: 7
- n_releases_24m: 28
Adoption not part of the score
1163 stars · 142 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Phonelib is a Ruby gem for validating and formatting phone numbers based on Google's libphonenumber data. It supports parsing into E164 and national formats, default country configuration, special number parsing, and vanity number conversion.
Use cases
- validate phone numbers in a Rails app
- parse phone numbers to E164 format
- format phone numbers with national prefix
- handle international phone input from users
- convert vanity phone numbers to digits
- validate phone numbers with a default country fallback
When to choose
- you need reliable phone validation in Ruby backed by Google libphonenumber data
- you want ActiveRecord model integration for phone validation
- you need E164 or national formatting for stored phone numbers
When to avoid
- you need the full feature set of Google libphonenumber, as Phonelib implements only a subset
- you are not working in Ruby or a Ruby web framework
Facets
library · maturity active
parser form-handling serialization web-development ruby phone-number libphonenumber e164 phone-formatting rails-integration telephony ruby internationalization
1 source
- readme: https://github.com/daddyz/phonelib · fetched 2026-08-28 · e71f28af4de5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| daddyz/phonelib | main | 99 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem