Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/impress-org/give-cloudflare-turnstile
Reduce donation spam with Cloudflare turnstile, a user-friendly, privacy-preserving alternative to CAPTCHA
https://github.com/impress-org/give-cloudflare-turnstile
Last synced: 3 days ago
JSON representation
Reduce donation spam with Cloudflare turnstile, a user-friendly, privacy-preserving alternative to CAPTCHA
- Host: GitHub
- URL: https://github.com/impress-org/give-cloudflare-turnstile
- Owner: impress-org
- Created: 2024-09-20T14:50:42.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-11-25T21:46:00.000Z (about 1 month ago)
- Last Synced: 2024-11-25T22:31:50.538Z (about 1 month ago)
- Language: PHP
- Size: 1.38 MB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Give - Cloudflare Turnstile
## Description
Reduce donation spam with Cloudflare turnstile, a user-friendly, privacy-preserving alternative to CAPTCHA## Installation
1. Run composer install
2. Run npm install && npm run build
3. Activate the pluginAdd the following:
```php
add_filter('give_cloudflare_turnstile_enabled', '__return_true');
```Replace the following with your Cloudflare Turnstile Site Key and Secret Key:
The current values are for testing purposes only.```php
define('GIVE_TURNSTILE_SITE_KEY', '0x4AAAAAAAkKVAClSfWgKKSy');
define('GIVE_TURNSTILE_SECRET_KEY', '0x4AAAAAAAkKVKxbDHB4JJNJy-Laa1brdLM');
```