Download the PHP package oposs/silverstripe-hcaptcha without Composer
On this page you can find all versions of the php package oposs/silverstripe-hcaptcha. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download oposs/silverstripe-hcaptcha
More information about oposs/silverstripe-hcaptcha
Files in oposs/silverstripe-hcaptcha
Package silverstripe-hcaptcha
Short Description Protect your forms with hCaptcha
License MIT
Homepage https://oetiker.ch
Informations about the package silverstripe-hcaptcha
hCaptcha spam protection
Protect your forms with hCaptcha, a GDPR, CCPA, LGPD, PIPL and more compliant spam prodection (according their website)
Installation
Note: This version of the module is compatible with Silverstripe CMS 5.x. For Silverstripe 4.x compatibility, please use an earlier version/tag.
Make sure you met the following requirements beforehand:
- SilverStripe 5.x
- SilverStripe Spam Protection 4.x
- PHP 8.1+
- PHP CURL and JSON extensions
And set hCaptcha as your default spamprotector:
Configuration
In your app/_config/hcaptcha.yml
For more configuration options check comments in hCaptchaField.php
Usage
In php:
Or if you use Userforms:
Troubleshooting
Q: Users are redirected to the main page when the captcha is incorrect or not solved
A: This is most likely a redirecting problem, if your site is running behind a proxy have a look at
the Director's alternate_base_url
property (albeit heavily used, not document yet...)
Contributions are welcome :)
All versions of silverstripe-hcaptcha with dependencies
silverstripe/framework Version ^5.0
silverstripe/spamprotection Version ^4.0
php Version ^8.1
ext-curl Version *
ext-json Version *