lohoy / magento-recaptcha-enterprise
Google Recaptcha Enterprise UI module for Magento 2
Package info
github.com/lohoy/magento-recaptcha-enterprise
Type:magento2-module
pkg:composer/lohoy/magento-recaptcha-enterprise
1.0.0
2026-04-17 08:29 UTC
Requires
- php: ^8.1
- google/cloud-recaptcha-enterprise: *
- magento/module-re-captcha-ui: *
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
-
Add the module to your project via Composer:
composer require lohoy/magento-recaptcha-enterprise
-
Enable the module:
bin/magento module:enable Lohoy_ReCaptchaEnterprise bin/magento setup:upgrade
Configuration
To configure the module from the Magento Admin:
- Navigate to Stores > Configuration > Security > Google reCAPTCHA Storefront.
- Expand the reCAPTCHA v3 Invisible section.
- 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 theGOOGLE_APPLICATION_CREDENTIALSenvironment variable or Application Default Credentials.
