marmelroy/PhoneNumberKit
A Swift framework for parsing, formatting and validating international phone numbers. Inspired by Google's libphonenumber. observed · 2026-08-28
Health v2 · maintenance only
88/100
- Activity 84
- Release rhythm 85
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 13.0
- age_days: 3994
- days_rel: 100
- days_push: 100
- n_releases_24m: 27
Adoption not part of the score
5386 stars · 854 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Swift framework for parsing, formatting, and validating international phone numbers, inspired by Google's libphonenumber. This original repository is frozen at 4.3.0; active development has moved to the PhoneNumberKit organization.
Use cases
- validate phone numbers entered by users in an iOS app
- format international phone numbers consistently
- parse a phone number string into country code and national number
- normalize phone numbers from contacts to E.164
- detect the default region code from the device
- build a phone number text field with country code picker
When to choose
- you need libphonenumber-style phone number handling in Swift
- you want a lightweight, fast, well-tested Swift phone number library
- you are pinned to the 4.x API and manage metadata updates yourself
When to avoid
- you want current metadata and active maintenance - use PhoneNumberKit/PhoneNumberKit instead
- you need PhoneNumberTextField or the country picker - use PhoneNumberKitUI
- your project is not in the Swift/Apple ecosystem
Facets
library · maturity abandoned
parser serialization form-handling developer-tools mobile-development cross-platform phone-number libphonenumber formatting swift-framework contacts ios macos swift
1 source
- readme: https://github.com/marmelroy/PhoneNumberKit · fetched 2026-08-28 · 7549e2a448be
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| marmelroy/PhoneNumberKit | main | 88 |
For agents
markdown · JSON · MCP: product_card(name="marmelroy/PhoneNumberKit")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem