# Propaganistas/Laravel-Phone

Phone number functionality for Laravel

Repository: https://github.com/Propaganistas/Laravel-Phone
Canonical: https://ross.abutalabs.com/products/laravel-phone
Homepage: https://laravel-phone.herokuapp.com/
Language: PHP
License: MIT
License Family: permissive
Topics: laravel, libphonenumber, validation, phone
Last push: 2026-05-26T09:31:35+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 84, release rhythm 63, longevity 100
- inputs: {"age_days": 4574, "days_push": 99, "days_rel": 168, "gap_med": 49.0, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3025, forks 233 (observed 2026-08-28T04:07:38.621183+00:00)

## What it is
A Laravel package that adds phone number validation, formatting, and parsing built on Google's libphonenumber (PHP port). It provides validation rules, Eloquent attribute casting, and a PhoneNumber utility class.

## Use cases
- validate phone numbers in Laravel forms
- validate phone numbers against allowed country codes
- format phone numbers for display
- cast Eloquent model attributes to phone number objects
- compare phone numbers for equality

## When to choose
- you're building a Laravel or PHP app that collects user phone numbers
- you need country-aware phone validation with localized error messages
- you want libphonenumber features integrated with Laravel validation and Eloquent

## When to avoid
- you're not using Laravel or PHP
- you only need lightweight regex phone checks without libphonenumber's metadata
- you need phone verification via SMS (this validates format, not ownership)

## Facets
- artifact type: library
- maturity: active
- function: form-handling, parser, internationalization
- domain: web-development, backend, developer-tools
- platform: php
- tags: libphonenumber, phone-number-validation, eloquent-casting, laravel-package, laravel

## Member repositories
- Propaganistas/Laravel-Phone (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:38.621183+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-30T07:29:53.794229+00:00, confidence not recorded.
  - readme: https://github.com/Propaganistas/Laravel-Phone (fetched 2026-08-28T04:07:38.621183+00:00, sha f376b283280d)
  - homepage: https://laravel-phone.herokuapp.com/ (fetched 2026-08-29T09:44:54.626804+00:00, sha bcbc41d17b02)
- Data as of 2026-08-30T08:39:29.467469+00:00.
