Download the PHP package infopeak/captcha without Composer
On this page you can find all versions of the php package infopeak/captcha. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download infopeak/captcha
More information about infopeak/captcha
Files in infopeak/captcha
Package captcha
Short Description Server-side verification for InfoPeak Captcha - the privacy-first, EU-hosted captcha. No tracking, no cookies, no puzzles.
License MIT
Homepage https://infopeak.io/captcha
Informations about the package captcha
InfoPeak Captcha for PHP
Server-side verification for InfoPeak Captcha - the privacy-first, EU-hosted captcha. No tracking, no cookies, no image puzzles.
Install
Requires PHP 7.4+ with the curl and json extensions.
Usage
Add the widget to your form (full guide):
Verify the token when the form is submitted:
Need quota information too?
Verification fails closed: network errors and non-200 responses return valid = false.
Retrying a rejected submission
Tokens are single-use. If you reject a submission and leave the visitor on the same page - an AJAX form, a wrong password, a validation error - the token already in the form is spent, and the next attempt fails on the captcha instead of on the real problem. Ask the widget for a fresh one:
reset() clears the hidden field and solves again immediately, and returns the number of widgets it reset. Plain form posts do not need this - the page reload builds a new widget anyway.
Testing
Public test credentials that work on any domain and never count against a quota (never use in production):
Links
- Get a free sitekey - 10,000 verifications/month at no cost
- Developer documentation
License
MIT
All versions of captcha with dependencies
ext-curl Version *
ext-json Version *