This is a simple demo application written with PHP that demonstrates how to use the Cloudflare Turnstile to protect your application from abuse.
- Docker
- Clone this repository
git clone git@github.com:NotMixu/cloudflare-turnstile-demo-php.git
- Copy the contents of the
config.example.php
file to a new file calledconfig.php
and fill in the values
cp config.example.php config.php
- Run the application with docker compose
docker compose up
- Open your browser and navigate to http://localhost:8000