teamneusta/formrecaptcha

Adds Google's reCAPTCHA to EXT:form

Installs: 6 079

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 11

Forks: 2

Open Issues: 0

Type:typo3-cms-extension

3.0.0 2022-06-03 11:25 UTC

This package is not auto-updated.

Last update: 2024-10-21 15:57:41 UTC


README

Works great with reCAPTCHA v2 checkbox!

reCAPTCHA for TYPO3 EXT:form

You can either choose to define your reCAPTCHA api Keys with typoscript, or as environment variables.

Typoscript setup

Check out the typoscript constants file for it: formrecaptcha/Configuration/TypoScript/constants.typoscript

Make sure you add constants for publicKey and privateKey.
You could also change apiScript and verificationServer but that is not necessary.

Environment variables

I suggest to use DotEnv Conntector for this composer req vlucas/phpdotenv

Define your reCAPTCHA api keys as environment variables:
GOOGLE_RECAPTCHA_PUBLIC_KEY and GOOGLE_RECAPTCHA_PRIVATE_KEY
You could also set GOOGLE_RECAPTCHA_API_SCRIPT and GOOGLE_RECAPTCHA_VERIFICATION_SERVER but that is not necessary.