Turnstile

Cloudflare CAPTCHA alternative

Creator: Mat Dave Jones (matdave)

Need help installing this extra?

About Turnstile

Turnstile is a MODX Extra that allows you to incorporate CloudFlare's Turnstile Captcha into your MODX site.

Information

Released
May 6, 2024

Supported Database
MySQL, SQL Server

License
MIT

Supported Versions
2.6 - Current

Downloads
55

Documentation
Turnstile Documentation

Instructions

Install via Package Management.

Sign up for a CloudFlare account. Within the CloudFlare dashboard, click on Turnstile and select "Add Your Site". You can then copy the Site Key and Secret Key into the Turnstile system settings in MODX.

Turnstile currently only works with FormIt. To use it, add the following to your FormIt call:

[[!FormIt? &hooks=`tsFormItHook` ...

Within the body of your form, add the following snippet:

[[!tsRender]]

This will render the Turnstile Captcha. If the user fails the Captcha, the form will not be submitted.

New in 1.0.0-pl

Fix issues with PHP < 8

Current releases

1.0.0-pl
View | Download
May 6, 2024
2.6 - Current

0.0.2-pl
View | Download
June 7, 2023
2.6 - Current