A module for Magento 2 that extends the built-in reCAPTCHA support to add Cloudflare Turnstile, an alternative privacy-friendly solution.
The documentation for Cloudflare Turnstile can be found here.
- Supports Luma and Hyvä storefronts
- Configurable widget size, theme (light/dark), and language
- Works in all the places Magento's reCAPTCHA solution does, including:
- Customer login form
- Forgotten password form
- New customer account form
- Contact us form
- Product review forms
- Newsletter subscription form
- Checkout
- Admin login form
- Admin forgotten password form
composer require boxtwentytwo/module-cloudflare-turnstile
bin/magento module:enable BoxTwentyTwo_CloudflareTurnstile
bin/magento setup:upgrade
The module is configured in the same places as Magento's reCAPTCHA configuration:
- Stores > Configuration > Security > Google reCAPTCHA Admin Panel > Cloudflare Turnstile
- Stores > Configuration > Security > Google reCAPTCHA Storefront > Cloudflare Turnstile
Contributions are welcomed and encouraged. Please feel free to submit an issue or pull request if you find a bug or have a feature request.
Copyright (C) Sam Cleathero 2025. Licensed under GPLv3.