gerdemann/recaptcha

Last activity on 10 October 2019
  • 6
  • 4
  • 8548
composer require gerdemann/recaptcha

Neos plugin for Google reCAPTCHA

3.0.0

Neos plugin for Google reCAPTCHA

Version
3.0.0
Type
neos-plugin
Release Date
09.10.2019 13:38:23
Source
git
Distribution
zip
Requires
Requires (dev)
None
Suggest
None
Provides
None
Conflicts
None
Replaces
None
MIT 93dbcae06b79bac4b7a6d2c5216a2e20559d92f1

Gerdemann.ReCAPTCHA

Neos plugin for Google reCAPTCHA

How-To:

  • Install the package to Packages/Plugin/Gerdemann.ReCAPTCHA (e.g. via composer 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.

The content of the readme is provided by Github
The same vendor provides 4 package(s).