--- title: TYPO3 description: Install the CaptchaLa TYPO3 extension to protect the frontend login and form_framework forms. --- # 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 | Form | Default action | How | | --- | --- | --- | | Frontend login (felogin) | `login` | Added 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 form | `contact_form` | Drag 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`](https://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](https://extensions.typo3.org/extension/captchala) (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`. | Setting | Key | Default | Description | | --- | --- | --- | --- | | App Key | `appKey` | — | Public key from the CaptchaLa dashboard. Required. | | App Secret | `appSecret` | — | Server secret, used to issue and validate tokens. Required; never sent to the browser. | | Widget mode | `product` | `bind` | `bind` (the check runs when the visitor presses the form's submit button), `embed` (a verification bar inside the form), `popup` or `float`. | | Language | `lang` | `auto` | BCP-47 tag such as `ja` or `pt-BR`, or `auto` to follow the visitor's browser. | | Skip for logged-in users | `skipFeUsers` | on | Frontend users who are already logged in are not challenged. | In `embed` mode the extension uses the [compact bar](/web-sdk#compact-bar), sized to match the form fields. ## Screenshots ![CaptchaLa backend module in TYPO3 with credentials, widget and behaviour settings](/images/plugins/typo3/backend-module.webp) ![TYPO3 frontend login form with the CaptchaLa bar showing Verified](/images/plugins/typo3/felogin-form.webp) ## 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. ## Links - Source and issues: [github.com/Captcha-La/captchala-typo3](https://github.com/Captcha-La/captchala-typo3) - Packagist: [captchala/typo3](https://packagist.org/packages/captchala/typo3) - Support: [supply@captcha.la](mailto:supply@captcha.la)