Propaganistas/Laravel-Phone

Phone number functionality for Laravel

View on GitHub ↗Jump to charts ↓Open shareable report →

Propaganistas/Laravel-Phone has 3k+ stars and 200+ forks on GitHub, is written in PHP, and was last pushed on Oct 2, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 5 minutes ago
Type:Library / SDKCategory(s):Backend FrameworksWeb Development
Added to GitGenius on September 22nd, 2026
Created on February 23rd, 2014
Open Issues & Pull Requests: 0 (+0)
GitHub issues: Enabled
Number of forks: 234
Total Stargazers: 3,041 (+0)
Total Subscribers: 46 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 13.4 hours
Mean response time: 15.1 hours
90th percentile: 25.9 hours
Tracked items: 14

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 0
New in 7 days: 0
Closed in 7 days: 0
Avg open age: N/A days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • support (1)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

Laravel Phone is a Laravel package that adds phone number validation and manipulation functionality based on Google's libphonenumber library.

The package solves the problem of validating and handling phone numbers in Laravel applications by wrapping the PHP port of libphonenumber, which understands phone number formats, types, and validity rules across different countries. It provides validation rules that can enforce country-specific constraints, number types like mobile or fixed line, and lenient validation modes that check only length rather than carrier patterns. The tool also offers attribute casting for Eloquent models, allowing phone numbers to be automatically converted to PhoneNumber objects when retrieved from the database and formatted back when stored, with support for both raw and E.164 formatted storage.

Developers should choose this package if they need robust phone number validation tied to specific countries or if they want to store phone numbers in a standardized format. It suits applications that accept phone input from users in different regions and need to validate that numbers match their stated country of origin, or that accept only certain number types. The package integrates directly into Laravel's validation system through both keyword rules and expressive rule classes, and provides casting support for seamless model integration.

The project maintains active engagement with its codebase through regular updates and refinements to its validation logic and casting behavior. Development shows responsiveness to edge cases and practical usage patterns, evidenced by features like the ability to match phone numbers against a related country field and the provision of both strict and lenient validation modes to handle varying input quality.