Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Simple Google reCAPTCHA

Security covered Under active development 4,133 sites

This module adds Google reCAPTCHA protection to Drupal forms, offering both reCAPTCHA v2 (checkbox) and v3 (invisible) options. It prioritizes simple configuration and setup, supports multiple form instances on a single page, and works with various caching strategies.

About Simple Google reCaptcha

Simple Google reCaptcha

This module provides Google reCAPTCHA protection for Drupal forms. In comparison to other modules the main goal is to keep configuration as simple as possible, and simple to support following setups/scenarios:

  • Caching - support any caching strategies ( Internal page cache, Memcache, Varnish, Purge )
  • Multiple instances - support multiple forms rendered on the same page
  • Minimum dependencies - avoid dependency of multiple contrib modules, PHP libraries and 3rd party tools
Supported reCAPTCHA types
  • reCAPTCHA v2 (checkbox)
  • reCAPTCHA v3 (invisible)

Chosen protection type can be configured for any form by adding form ID to configuration, and for any webform by adding reCAPTCHA handler

 

How to start

1. Installation

Run composer to install the module:

$ composer require drupal/simple_recaptcha:^1.0
2. Configuration

Navigate to /admin/config/services/simple_recaptcha to set up reCAPTCHA keys and desired reCAPTCHA protection type.

Both keys can be found in Google reCaptcha admin dashboard

3. Permissions

This module provides two types of permissions:

  • Administer Simple Google reCaptcha - allows user to access configuration page
  • Bypass Simple Google reCaptcha verification - allows to skip reCaptcha validation on forms

To configure user permissions visit /admin/people/permissions

4. Add reCaptcha validation to forms

Currently there are two ways to add reCaptcha validation to forms:

  • By adding form ID of any form at admin/config/services/simple_recaptcha
  • By adding reCaptcha handler to the webform - after enabling simple_recaptcha_webform module this can be added in webform handlers settings (/admin/structure/webform/manage/{webform}/handlers ).

For more details and technical description, please check the README file

Ask your assistant about Simple Google reCAPTCHA

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

1 tracked project depends on this one

Activity

Tracked releases
3
Tracked since
Jan 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
8.x-1.0-beta9 Pre-release 10–11 Dec 20, 2024
8.x-1.0-beta8 Pre-release 8–10 Mar 8, 2023
8.x-1.0-beta7 Pre-release 8–10 Jan 31, 2023