alveby / atrium-captcha
Captcha for Atrium's public forms: a built-in check with no keys, or Cloudflare Turnstile, Google reCAPTCHA v3 and v2, hCaptcha and Yandex SmartCaptcha, chosen per site with the keys kept encrypted
dev-main / 0.5.x-dev
2026-12-05 07:02 UTC
Requires
- php: ^8.3
- alveby/atrium: ^0.5
- illuminate/support: ^13.0
Requires (Dev)
- orchestra/testbench: ^11.0
- phpunit/phpunit: ^12.5
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-12-06 04:38:41 UTC
README
A captcha for the public forms of Atrium: the forms of the Forms module, the reviews form and forms of your own. Each site chooses its captcha in the panel.
- A built-in check, on from the start: no keys, no outside service, no JavaScript. A field hidden from people that bots fill in, and the time the form was drawn, encrypted.
- Cloudflare Turnstile, Google reCAPTCHA v3 and v2, hCaptcha, Yandex SmartCaptcha: one choice and two keys on the Captcha screen.
- The keys are kept encrypted per site and never shown again; a service without its keys gives way to the built-in check.
- Checked on the server before anything is stored; the error in the language of the page, in 15 languages.
- A service that does not answer refuses the form, or lets it through with
ATRIUM_CAPTCHA_FAIL_OPEN=true. <x-atrium::captcha />and theatrium.captchamiddleware for forms of your own; other packages add captchas of their own.
Install
composer require alveby/atrium-captcha php artisan atrium:module:install alveby/atrium-captcha
Then Captcha in the menu of the panel, for superadmins. Everything is described in docs/captcha.md (по-русски).
License
MIT. This package is split from the Atrium monorepo; issues and pull requests go there.