jeremykenedy/laravel2step
Laravel2step adds two-step verification to Laravel apps, providing middleware, routes, views, config, and database support for requiring an extra verification step after login. It helps secure user accounts with minimal setup and a customizable flow.
jeremykenedy/laravel2step viable again for fresh Laravel 11–13 applications, so it is now a realistic “buy” candidate for teams that need a lightweight second verification step without building flow, middleware, notifications, views, and config themselves.^5.0 must explicitly require ^6.0, test behaviour changes, and decide whether to upgrade, pin, or stay on v5.0.0.composer audit. This improves confidence for current-platform adoption.TwoStepController or depend on inherited controller methods.Consider it when:
Look elsewhere or stay put when:
v5.0.0 if needed.TwoStepController and rely on inherited authorize() / validate() methods from your application base controller.For executives: v6.0.0 revives a lightweight two-step verification package for current Laravel versions. It fixes serious issues—most notably protected routes executing before verification—and adds an 81-test Pest suite plus GitHub Actions CI. It can reduce time-to-market for email-based verification in admin panels and internal tools, but it is a major upgrade with behaviour changes and remains a small community dependency. Approve adoption only with a tested upgrade path and a clear decision not to rely on it for advanced MFA.
For engineering: treat this as a controlled major upgrade. Require ^6.0 explicitly, review the middleware ordering change, confirm no code depended on protected actions running for unverified users, check CSP for the new Bootstrap CDN default, verify database connection configuration, and test any controller extension. CI covers Laravel 12/13 on PHP 8.2–8.5, not older framework versions, so Laravel 11 and below need manual validation or should stay on v5.0.0.
How can I help you explore Laravel packages today?