Skip to content

Simple demo application written with PHP that demonstrates how to use the Cloudflare Turnstile to protect your application from abuse.

License

Notifications You must be signed in to change notification settings

NotMixu/cloudflare-turnstile-demo-php

Repository files navigation

Cloudflare Turnstile Demo Application

This is a simple demo application written with PHP that demonstrates how to use the Cloudflare Turnstile to protect your application from abuse.

Requirements

  • Docker

Running locally

  1. Clone this repository
git clone git@github.com:NotMixu/cloudflare-turnstile-demo-php.git
  1. Copy the contents of the config.example.php file to a new file called config.php and fill in the values
cp config.example.php config.php
  1. Run the application with docker compose
docker compose up
  1. Open your browser and navigate to http://localhost:8000

About

Simple demo application written with PHP that demonstrates how to use the Cloudflare Turnstile to protect your application from abuse.

Topics

Resources

License

Stars

Watchers

Forks