gerdemann / recaptcha
Neos plugin for Google reCAPTCHA
Fund package maintenance!
paypal.me/gerdemann
Installs: 14 044
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 2
Forks: 4
Open Issues: 0
Type:neos-plugin
Requires
- guzzlehttp/psr7: ^1.6 || ^2.0
- neos/neos: ^4.0 || ^5.0 || ^7.0 || ^8.0
README
Neos plugin for Google reCAPTCHA
How-To:
-
Install the package to
Packages/Plugin/Gerdemann.ReCAPTCHA
(e.g. viacomposer require gerdemann/recaptcha
) -
Get your sitekey and shared secret at https://www.google.com/recaptcha/admin
-
Add the reCAPTCHA element to your form:
- type: 'Gerdemann.ReCAPTCHA:ReCAPTCHA' identifier: 'recaptcha' properties: sitekey: 'ENTER_HERE_YOUR_SITEKEY' validators: - identifier: 'Neos.Flow:NotEmpty' - identifier: 'Gerdemann.ReCAPTCHA:ReCAPTCHA' options: secret: 'ENTER_HERE_YOUR_SHARED_SECRET'
Settings:
You can predefine default values for secret
and sitekey
in
Settings.yaml
. If no specific values are given in the form the
captcha-element will fallback to those values.
Gerdemann:
ReCAPTCHA:
sitekey: ~
secret: ~
Hint:
Two javascript files are included in /Resources/Private/Fusion/Root.fusion
on the page.
If this is not desired, these can be individually removed via a condition.
To ensure the functionality, these files are at least necessary on pages with form.
Version hint
The Version 1.* is compatible with Neos 2.0, but this version is no longer supported. For Neos 3.0 versions 2. * can be used.
License
The MIT License (MIT). Please see LICENSE for more information.