jord-jd/laravel-password-exposed-validation-rule
A Laravel validation rule that checks passwords against the Have I Been Pwned database, helping you reject known-breached credentials during registration or password changes. Simple to add to form requests and validators.
Architecture fit
Validator::make, and Password:: rule chains without touching domain code.Integration feasibility
composer require, add the rule to a field's rule array, done. Realistic effort: hours, not days.string rule is present.__toString() continue to be evaluated, which preserves the sensible path for value objects and UUID/email wrappers.Technical risk
Key questions
Password::min()->uncompromised() and other rules in the same chain, and what is the recommended ordering?Stack fit
illuminate/validation. No framework-level configuration required beyond an optional published config for timeouts/caching.rules(), in register/reset-password flows, and in API validation via Validator::make.Migration path
null, int, array, bool, Stringable, and a normal string before rolling forward.Compatibility
illuminate/support) resolve in each target app.Sequencing
Maintenance
^6.Support
string rule interaction is now part of the contract.Scaling
Failure modes
string rule was never added. This surfaces as a user-facing validation error with no obvious cause.Ramp-up
How can I help you explore Laravel packages today?