it/input-mask-bundle
Symfony bundle that adds client-side input masking to form fields, with Twig helpers and asset integration for common masks such as phone numbers, dates and currency. It simplifies wiring mask scripts into templates, though it is a small, lightly maintained package with limited adoption.
FormType extensions that attach Inputmask data attributes to rendered inputs. For a Laravel team, the realistic decision is "borrow the pattern" (a Blade component / FormRequest rule pairing) rather than "buy the dependency."composer require + service provider registration without adaptation. Treat it as prior art, not an install candidate.Consider (narrowly) when:
RobinHerbots/Inputmask and jQuery, and you want masks declared on form types rather than duplicated in templates.Look elsewhere when:
FormRequest with a matching regex rule, or a maintained JS mask library.To executives: This is a small, unmaintained Symfony bundle that adds masked input fields to server-rendered forms. It is not a candidate for adoption — eight stars, zero downstream dependents, and no release since 2017 represent unacceptable maintenance risk. Its value to us is as a design reference for a capability our users expect (formatted phone, date, and currency entry), which we can deliver in roughly a sprint using our existing Laravel stack rather than adopting a dependency.
To engineering: Read it, don't require it. It is a clean illustration of attaching Inputmask configuration to form definitions instead of scattering it across templates — a pattern worth mirroring in a Blade component with a paired FormRequest validation rule so client and server agree on format. The non-obvious cost is not the mask; it is validation parity, locale variants, paste/autofill handling, and accessibility. Recommend a spike to evaluate a maintained alternative (IMask or Cleave.js) against Inputmask before committing, and record the decision in our dependency-approval log with the 2017 last-release date as the rationale for not vendoring this bundle.
How can I help you explore Laravel packages today?