chapdel/laravel-tel-input
Laravel Tel Input provides a ready-made telephone number input for Laravel forms and Blade views, handling formatting and validation so you can add phone fields without custom JavaScript. A small helper package for consistent, user-friendly phone entry.
Package: chapdel/laravel-tel-input — a Blade-component + validation-rule wrapper around an international phone input widget (typically intl-tel-input with libphonenumber-style validation). Small, single-purpose, presentation-layer-plus-validation package.
Architecture fit
Integration feasibility
composer require, optional vendor:publish, then swap existing <input type="tel"> markup for the component and add the rule to relevant FormRequests. Estimate half a day for a typical app, most of it spent on form markup and CSS.Technical risk — the material issue with v2.0
@vite/@stack usage.vendor:publish --force silently overwriting local customisations.data-* contracts and browser support.Key questions to close before any decision
v1.1.6 and v2.0? Owner: whoever can read the compare diff — read the commit list and CHANGELOG.md/UPGRADING.md directly; do not accept the link as sufficient.Provisional stance: treat v2.0 as unassessed, not approved. Pin to ^1.1.6 in the interim; the package is not on the critical path, so there is no urgency justifying an uninspected major upgrade.
Stack fit
Migration path
UPGRADING.md. Convert each item into a checklist row tagged breaking / behavioural / cosmetic. This step gates everything after it.^2.0, run composer update, and vendor:publish --force in a throwaway directory, then diff the published config and assets against the current versions to surface renames and path changes.Compatibility
intl-tel-input — duplicate-loading is a common failure in legacy pages.^1.1.6 indefinitely is a time-boxed position, not a strategy. Set a review date.Sequencing
Maintenance
Support
Scaling
Failure modes
vendor:publish --force during an upgrade reverts local customisations with no error. Mitigate by diffing published files rather than overwriting blindly.Ramp-up
Bottom line for the decision log: v2.0 is a major release whose contents are not documented in the material provided. Do not adopt on the strength of a changelog link. Pin to ^1.1.6, spend a few hours reading the diff and inventorying call sites, then decide — the package is replaceable and non-critical, so the correct response to an unquantified breaking change is to gather information, not to act.
How can I help you explore Laravel packages today?