Skip to content

This is an example on how to implement the Cloudflare Turnstile Captcha in PHP

Notifications You must be signed in to change notification settings

Franky5831/PHP-Cloudflare-Captcha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Cloudflare Turnstile Captcha PHP Example

I wanted to implement the Cloudflare Turnstile Captcha in my latest PHP based project but I struggled to find documentation and examples on how to check if the captcha is valid in PHP.

This repo contains an example on how to implement it, hope you find this helpfull, feel free to open an issue, I'll do my best to answer and help you 😊.

Steps

This example repo assumes you have aready created both keys and registered the hostname, if noy you can read the docs and then came back.

This repo holds 2 example php files: form-example.php and submit-example.php, in both you are supposed to add the keys.

Authors

About

This is an example on how to implement the Cloudflare Turnstile Captcha in PHP

Topics

Resources

Stars

Watchers

Forks

Languages