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

Laravel Nist Password Rules Laravel Package

langleyfoxall/laravel-nist-password-rules

Laravel validation rules implementing NIST SP 800-63B password guidance: enforce minimum length, reject breached and common dictionary passwords, block context-specific words, and avoid outdated composition rules. Easy to add to form requests and validators.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Password policy & compliance posture. This package supplies Laravel validation rules that implement NIST SP 800-63B guidance (length-first policy, breached-password screening via HaveIBeenPwned k-anonymity, rejection of common/context-specific passwords) instead of legacy composition rules (forced symbols/rotation). It directly supports decisions about how we answer security questionnaires, SOC 2 / ISO 27001 control narratives, and enterprise procurement reviews.
  • Build vs. buy for auth hardening. Choosing this package is effectively "buy" (adopt) for password policy: it removes the need to write, test, and maintain a custom validator plus breached-password integration. That frees the auth squad to spend roadmap capacity on higher-leverage work (passkeys/WebAuthn, MFA step-up, session management) rather than regex maintenance.
  • Authentication UX decisions. NIST-aligned rules let us drop frustrating composition requirements and lengthen minimums — a measurable win in signup/reset funnel completion and support-ticket volume. It is also a prerequisite input to any future "passwordless-first" roadmap, since the policy layer stays valid while the credential type changes.
  • Roadmap sequencing and risk register. A trivial patch release (v8.2.0 is a dependency version bump only) is a signal, not a feature: it indicates the package is still being looked after, but it should not be read as active feature investment. Treat it as a low-risk maintenance data point when deciding whether to standardize on this package across our Laravel services.

When to Consider This Package

Consider adopting when:

  • The product is a Laravel application on a currently supported Laravel/PHP line, and password validation is already expressed as Laravel validation rules — integration cost is roughly one Composer dependency and one rule in the relevant FormRequest or validator.
  • We need NIST SP 800-63B alignment as an audit or sales artifact, and the alternative is a bespoke implementation with its own test burden.
  • We want breached-password screening without operating a breach corpus — the package's HaveIBeenPwned (k-anonymity) approach avoids shipping a credential dump and avoids sending full passwords off-host.
  • We want a small, auditable dependency surface rather than a full identity platform, and are comfortable owning the surrounding policy decisions (MFA, lockout, rate limiting, credential-stuffing defenses) ourselves.

Look elsewhere (or plan to wrap/extend) when:

  • The stack is not Laravel, or is on an unsupported Laravel/PHP version — this release is only a version bump, so it tells us nothing about a forward-compatibility guarantee; verify the supported-version matrix before committing.
  • Requirements include per-tenant or per-brand password policies, configurable rule composition, admin-facing policy editors, or policy-as-configuration — that is a policy engine, not a validation rule.
  • There are hard constraints on outbound calls at authentication time (air-gapped, regulated network egress, latency SLOs on login) or an obligation to run an on-premises breached-credential dataset. The HIBP dependency becomes an availability and privacy review item; confirm fallback behavior when the API is unreachable.
  • We need active feature development, a published support/SLA commitment, or a security disclosure policy. The cadence suggested by a maintenance-only release should be validated directly with the maintainer before we treat this as a strategic dependency.

How to Pitch It (Stakeholders)

For executives (one paragraph): Adopting this package is a small, low-cost decision that closes a recurring security-questionnaire gap. It replaces our hand-rolled password rules with the industry-standard NIST SP 800-63B approach — longer minimums, breached-password screening, no arbitrary symbol rules — which is both what auditors and enterprise buyers expect and what users find less frustrating. Cost is a single dependency and a few hours of engineering; the alternative is building and indefinitely maintaining the same logic ourselves. Risk is contained: it is a narrow validation library, and the v8.2.0 release is a routine dependency bump with no breaking changes, so there is no migration work implied and no new behavior to test.

For engineering (summary): One Composer dependency plus a rule in the password FormRequest; no schema or API changes. v8.2.0 is a dependency version bump only — treat it as a routine upgrade, no code changes required, but pin the version and let the normal dependency-update process pick it up. Before we commit, confirm three things: (1) the package's supported Laravel/PHP matrix covers our versions, (2) the HaveIBeenPwned call path has an explicit failure mode that does not block signup, and (3) we add an integration test asserting the rule is wired into every password-setting flow (registration, reset, change) so policy cannot silently drift. Estimated effort: under a day including tests; maintenance burden is close to zero until we next touch authentication.

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.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource