lake/login-captcha
lake/login-captcha adds captcha protection to Laravel login forms with minimal setup. It integrates with the default authentication flow, helps block automated login attempts, and provides simple configuration for captcha rendering and validation. Ideal for quickly securing login pages.
mews/captcha or gregwar/captcha. Buying only wins if the Dcat-admin-specific form hooks and config save you the integration/fiddling time — the decision hinges on time-to-ship, not on capability. The new position setting is a cosmetic config knob, not a reason to re-run the build-vs-buy analysis.composer require.Consider it when:
composer.json, vendor or fork it into your repo, and accept that you — not upstream — will fix breakage on framework upgrades.Look elsewhere when:
throttle middleware, 2FA (laravel/fortify, pragmarx/google2fa), or SSO/IP allowlisting solve the same problem with better UX and better long-term maintenance.mews/captcha directly behind a custom validation rule — a few dozen lines you fully own and can test.For executives: This is a small, free, Apache-2.0 extension that puts a captcha on our Dcat-admin login page. It closes a standard audit finding — automated password-guessing against the back office — in roughly half a day of engineering, with no infrastructure cost and no vendor contract. The latest release (1.0.11) only adds a setting for where the captcha appears, so it changes nothing about the risk profile. The honest caveat stands: it is a low-adoption community package with a sparse release history, so we should treat it as a short-term control, pin the version internally, and pair it with the 2FA work already on the roadmap rather than relying on it as our permanent answer.
For engineering: One composer require, a config publish, a small amount of environment gating (off in local/CI so tests and seeded logins keep working), and — if you want it — the new captcha position option. Because upstream is effectively dormant, plan to pin the version, vendor or fork the code, and add a test asserting the captcha rule is active in production config. If we're already touching admin auth this quarter, the honest comparison is: a few dozen lines around mews/captcha, or this package for the Dcat-specific glue. Recommend it only if 2FA is not landing soon.
How can I help you explore Laravel packages today?