A premium single-file CAPTCHA that protects your forms with style. No database, no framework, no hassle.
Real working forms — submit them to test CAPTCHA verification.
Classic contact form with CAPTCHA protection
Prevent brute force with CAPTCHA
Block bot signups with CAPTCHA
Ensure real subscribers with CAPTCHA
Stop automated spam comments
Prevent email enumeration attacks
Everything you need in a single PHP file.
One PHP file. No Composer, no framework, no database.
HMAC tokens, rate limits, lockout, honeypot.
Minimal, Colorful, Dark, Glass, Fun + dark mode.
Math, Emoji, Color, Slider, Honeypot.
Require, render, verify. Three lines of code.
Perfect on mobile, tablet, and desktop.
English, Portuguese, Spanish, French.
Works with AJAX forms. Built-in refresh.
Protecting a form is as simple as this:
// 1. Include
require_once 'captchafun.php';
// 2. Render inside your form
echo CaptchaFun::render('my_form');
// 3. Verify on submit
if (!CaptchaFun::verify($_POST, 'my_form')) {
echo CaptchaFun::getLastError();
}