Fun & Secure PHP Captcha

A premium single-file CAPTCHA that protects your forms with style. No database, no framework, no hassle.

Single PHP File 5 CAPTCHA Types 5 Themes Dark Mode AJAX Support PHP 8.1+ GDPR Ready
Try Live Demo ↓ Read Documentation

Live Demos

Real working forms — submit them to test CAPTCHA verification.

✉️

Contact Form

Classic contact form with CAPTCHA protection

🔐

Login Form

Prevent brute force with CAPTCHA

👤

Registration Form

Block bot signups with CAPTCHA

📬

Newsletter Subscription

Ensure real subscribers with CAPTCHA

💬

Comment Form

Stop automated spam comments

🔑

Password Reset

Prevent email enumeration attacks

Why CaptchaFun Lite?

Everything you need in a single PHP file.

📄

Single File

One PHP file. No Composer, no framework, no database.

🔒

Server-Side Security

HMAC tokens, rate limits, lockout, honeypot.

🎨

5 Premium Themes

Minimal, Colorful, Dark, Glass, Fun + dark mode.

🎲

5 CAPTCHA Types

Math, Emoji, Color, Slider, Honeypot.

60-Second Setup

Require, render, verify. Three lines of code.

📱

Fully Responsive

Perfect on mobile, tablet, and desktop.

🌍

4 Languages

English, Portuguese, Spanish, French.

🔄

AJAX Ready

Works with AJAX forms. Built-in refresh.

3-Line Integration

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();
}