lohoy/magento-recaptcha-enterprise

Google Recaptcha Enterprise UI module for Magento 2

Maintainers

Package info

github.com/lohoy/magento-recaptcha-enterprise

Type:magento2-module

pkg:composer/lohoy/magento-recaptcha-enterprise

Statistics

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2026-04-17 08:29 UTC

This package is not auto-updated.

Last update: 2026-04-18 07:23:27 UTC


README

This module extends the Magento native ReCaptcha UI functionality to integrate Google ReCaptcha Enterprise instead of the default implementation. It leverages the official Google Cloud PHP Client for reCAPTCHA Enterprise under the hood.

Requirements

  • PHP >= 8.1
  • Magento ReCaptchaEnterprise module

Installation

  1. Add the module to your project via Composer:

    composer require lohoy/magento-recaptcha-enterprise
  2. Enable the module:

    bin/magento module:enable Lohoy_ReCaptchaEnterprise
    bin/magento setup:upgrade

Configuration

To configure the module from the Magento Admin:

  1. Navigate to Stores > Configuration > Security > Google reCAPTCHA Storefront.
  2. Expand the reCAPTCHA v3 Invisible section.
  3. Provide the credentials specific to your Google Cloud Enterprise project:
    • Google Cloud Project ID: Your Google Cloud project ID.
    • Google Credentials JSON File Path: Absolute path to the Service Account credentials JSON file (e.g., /var/www/html/magento/credentials.json). Leave empty to use the GOOGLE_APPLICATION_CREDENTIALS environment variable or Application Default Credentials.

Magento Admin Configuration Screenshot