# floere/phony

E164 international phone number normalizing, splitting, formatting.

Repository: https://github.com/floere/phony
Canonical: https://ross.abutalabs.com/products/phony
Homepage: http://florianhanke.com/phony/
Language: Ruby
License: MIT
License Family: permissive
Last push: 2026-08-20T09:04:01+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 35, longevity 100
- inputs: {"age_days": 6014, "days_push": 13, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1094, forks 238 (observed 2026-08-28T04:03:34.241181+00:00)

## What it is
A Ruby gem for normalizing, splitting, and formatting E164 international phone numbers. It parses numbers with country codes into country code, national destination code, and local number components.

## Use cases
- normalize phone numbers before storing in a database
- format international phone numbers for display
- split a phone number into country code and subscriber parts
- validate that a phone number is plausible for its country
- clean up user-entered phone numbers in a Rails app

## When to choose
- you work in Ruby and need E164 international phone number handling
- you need lightweight phone number processing (~1MB memory)
- you want to normalize and format numbers from many countries

## When to avoid
- you need to handle local numbers without country codes
- you need carrier or line-type metadata like libphonenumber provides
- you are not working in Ruby

## Facets
- artifact type: library
- maturity: stable
- function: parser, serialization, developer-tools
- domain: developer-tools, web-development, backend
- platform: ruby, cross-platform
- tags: phone-numbers, e164, normalization, formatting, internationalization

## Member repositories
- floere/phony (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:34.241181+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:47:36.716132+00:00, confidence not recorded.
  - readme: https://github.com/floere/phony (fetched 2026-08-28T04:03:34.241181+00:00, sha 8ee4bb8dfc2d)
  - homepage: http://florianhanke.com/phony/ (fetched 2026-08-29T12:50:29.607811+00:00, sha 87e042702bf5)
  - site_page: http://florianhanke.com/phony/index.html (fetched 2026-08-29T12:50:29.610452+00:00, sha 87e042702bf5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
