The Home for Magento 2 Excellence

Automated build tests for Magento 2 modules. Explore. Evaluate. Elevate. #magento2

1062 Modules
673 Ready
388 Need Help
Vendors 🏆 Leaderboard
Actively Maintained v1.1.1 OSL-3.0, AFL-3.0

Lohoy reCAPTCHA Enterprise

lohoy/magento-recaptcha-enterprise 60

Extends Magento native reCAPTCHA to integrate Google reCAPTCHA Enterprise using the official Google Cloud PHP client, with admin configuration for the Cloud project ID and service-account credentials.

173
Downloads
Below average
0
GitHub Stars
14d ago
Last Release
0
Open Issues
Build Passing
Ready to install

Build Tests

Composer Install
DI Compile
Templates

Code Quality

CS Coding Standard
3 warnings
PHPStan Failed

Release Discipline

Follows SemVer · 100% What is this?

Release history audited up to v1.1.1

Tested on Magento 2.4.9

Recent Test History

Each release is tested against the latest Magento version at that time.

v1.1.1 on Magento 2.4.9
Oct 26, 2026
v1.1.0 on Magento 2.4.9
Oct 23, 2026
v1.0.0 on Magento 2.4.9
Jun 1, 2026

Share This Module's Status

Lohoy reCAPTCHA Enterprise Magento compatibility status badge

README

Loaded from GitHub

Lohoy ReCaptchaEnterprise

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 Source: How the Service Account credentials JSON file is provided:
      • File path on server (default): fill Google Credentials JSON File Path with the absolute path to the file (e.g., /var/www/html/magento/credentials.json).
      • Encrypted JSON: paste the content of the JSON file in Google Credentials JSON. It is stored encrypted in the database (with the Magento crypt key), so no file has to exist on the server. It is flagged as sensitive, so it is never exported by bin/magento app:config:dump, and it can be set from the CLI:
        bin/magento config:set recaptcha_frontend/type_recaptcha_v3/google_credentials_source json
        bin/magento config:sensitive:set recaptcha_frontend/type_recaptcha_v3/google_credentials_json "$(cat credentials.json)"
        

    Leave the path or JSON empty to use the GOOGLE_APPLICATION_CREDENTIALS environment variable or Application Default Credentials.

Magento Admin Configuration Screenshot

This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.