Skip to content

TYPO3 ​

Official CaptchaLa extension for TYPO3. It adds CAPTCHA verification to the frontend login (felogin) and to any form built with the TYPO3 form framework, without writing code.

Every widget is backed by a server-issued, single-use token, and each submission is checked on your server before TYPO3 processes it.

What it covers ​

FormDefault actionHow
Frontend login (felogin)loginAdded to the login form automatically. A failed check shows a message above the login button and the user is not logged in.
Any form_framework formcontact_formDrag the CaptchaLa element into the form. Its validator refuses the submission before any finisher runs. The action can be changed per element (login, register, …).

Requirements ​

  • TYPO3 12.4 LTS or 13.4 LTS
  • PHP 8.1+
  • A CaptchaLa account — get your App Key + App Secret at dash.captcha.la

Install ​

Composer mode ​

bash
composer require captchala/typo3

The extension is picked up automatically. Run vendor/bin/typo3 extension:setup if your deployment does not do it already.

Classic mode ​

  1. Download captchala_x.y.z.zip from the TYPO3 Extension Repository (the ZIP bundles the PHP SDK).
  2. In the backend, go to Admin Tools → Extensions, upload the ZIP and activate CaptchaLa.

Configure ​

Open Admin Tools → CaptchaLa in the backend:

  1. Paste your App Key and App Secret.
  2. Choose a Widget mode and Language.
  3. Click Save, then Test connection to check the credentials end-to-end.

The same settings are also available under Settings → Extension Configuration → captchala, which is useful when configuration is deployed in additional.php.

SettingKeyDefaultDescription
App KeyappKey—Public key from the CaptchaLa dashboard. Required.
App SecretappSecret—Server secret, used to issue and validate tokens. Required; never sent to the browser.
Widget modeproductbindbind (the check runs when the visitor presses the form's submit button), embed (a verification bar inside the form), popup or float.
LanguagelangautoBCP-47 tag such as ja or pt-BR, or auto to follow the visitor's browser.
Skip for logged-in usersskipFeUsersonFrontend users who are already logged in are not challenged.

In embed mode the extension uses the compact bar, sized to match the form fields.

Screenshots ​

CaptchaLa backend module in TYPO3 with credentials, widget and behaviour settings

TYPO3 frontend login form with the CaptchaLa bar showing Verified

Add CaptchaLa to a form ​

  1. Open the form in the Forms module.
  2. Drag the CaptchaLa element into the form (in the element palette under the custom group).
  3. In the inspector, pick the Action that matches the form (contact_form, register, login, …).
  4. Save the form.

No finisher is needed.

Content Security Policy ​

If you enable TYPO3's frontend Content Security Policy, allow scripts from https://cdn.captcha-cdn.net and https://cdn.captchala.com, and blob: workers.

Troubleshooting ​

  • The widget does not appear on the login page. Check that the App Key and App Secret are saved and that Test connection succeeds. Then flush the TYPO3 caches.
  • Every submission is refused. Make sure the App Key and App Secret belong to the same app, and that your site's domain is allowed for that app in the dashboard.

MIT-licensed examples · CaptchaLa is operated independently