Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Phone Number Advanced Laravel Package

gepur-it/phone-number-advanced

A Laravel package for advanced phone number handling, with parsing, formatting, validation, and country-aware utilities to keep numbers consistent across your app. Integrates with Eloquent models and Blade views for cleaner input and display.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Standardizing phone data at the platform level. Whether to store/validate every phone number as E.164 across signup, CRM, and notifications remains a cross-cutting schema decision. The package is a concrete option to evaluate, not the decision itself.
  • Build vs. buy vs. fork. The package is still a thin Laravel convenience layer (validation rule, cast, formatting) over Google's libphonenumber. v5.3.0 ("upd php 8") slightly improves its compatibility story, but the surface remains small enough that vendoring/forking under MIT is a legitimate path — roughly 1–3 dev-days to own rather than depend on it.
  • International expansion gating. Per-country validation still matters for launch decisions. The new release does not indicate refreshed libphonenumber metadata, so market-specific accuracy should be validated separately before relying on it.
  • SMS/OTP deliverability and cost routing. If advanced features include line-type/carrier detection, it still depends on upstream metadata freshness. The PHP 8 compatibility release alone does not make it suitable for OTP-critical routing decisions.
  • CRM/identity hygiene roadmap. Normalizing and deduplicating contact records remains a valid cleanup epic. This package can inform the design, but not anchor the roadmap.
  • Invest vs. ignore signal. The diligence read improves marginally: v5.3.0 shows the package is not completely frozen. But a minimal "upd php 8" release after long dormancy, combined with prior low adoption (1 star, 0 dependents), still reads as reference implementation, not market bet. Recommendation remains: build internal or depend on maintained upstream, not adopt this as a strategic dependency.

When to Consider This Package

Consider it when:

  • You are on PHP 8 and want a small Laravel-shaped validator/cast/formatter without much integration effort.
  • The use case is low blast radius — internal admin tools, back-office imports, one-off cleanup scripts — and you are willing to vendor the code.
  • You want a readable reference for wiring libphonenumber into Laravel before writing your own helper.
  • MIT licensing and the tiny codebase make forking legally and technically straightforward.

Look elsewhere when:

  • Phone validation is on the critical path (OTP, 2FA, transactional SMS). The release notes do not mention refreshed libphonenumber metadata, so validity judgments for newer number allocations remain a risk.
  • You need confirmed support for current Laravel/PHP combinations (Laravel 10/11, PHP 8.2+). "upd php 8" is a signal, not proof of a maintained compatibility matrix; verify composer.json constraints and test coverage before adopting.
  • You need carrier/line-type accuracy at scale — that data decays fastest and must track upstream libphonenumber releases.
  • You require security patching, an SLA, or vendor accountability. One minimal release does not create a community-vetted safety net.
  • Compliance matters (phone numbers are PII under GDPR) and you need auditable, actively maintained dependencies.

Preferred alternatives: depend on giggsey/libphonenumber-for-php directly for current metadata, or use a maintained Laravel wrapper such as propaganistas/laravel-phone; write a small internal helper for anything else. If you like this package's ergonomics, fork it and own the metadata-refresh routine.

How to Pitch It (Stakeholders)

To executives: We re-evaluated the Laravel phone-validation add-on after its v5.3.0 release, which adds PHP 8 compatibility. That is a positive maintenance signal, but a very small one: the release note is only "upd php 8," with no indication of refreshed phone-number metadata, broader Laravel support, security work, or sustained maintenance. The underlying capability is still worth having — consistent E.164 storage reduces failed OTPs, avoids some SMS waste, and improves CRM hygiene as we expand internationally. Recommendation: adopt the capability, not this package as a long-term dependency. Use the maintained upstream library, or fork this MIT code if its Laravel ergonomics save us time.

To engineering: Treat v5.3.0 as a narrow compatibility patch, not a revival. It may unblock installs on PHP 8, but verify Laravel version constraints, test coverage, and whether libphonenumber metadata was actually refreshed. The value remains the Laravel-shaped surface (validator rule, cast, formatting helpers); the risk remains stale metadata and unclear maintenance. Either consume libphonenumber-for-php directly behind our own thin helper, or vendor this code with a clear owner and metadata-refresh routine. Budget roughly 1–3 dev-days to replace it outright.

Bottom line: The new release slightly lowers the "abandoned" risk and warrants re-checking compatibility, but it does not change the build-vs-buy conclusion. Low-risk to evaluate, still high-risk to depend on for critical phone workflows.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle