# Gregwar/Captcha

PHP Captcha library

Repository: https://github.com/Gregwar/Captcha
Canonical: https://ross.abutalabs.com/products/gregwar-captcha
Language: PHP
License: MIT
License Family: permissive
Topics: captcha, php, security, bots, anti-bot, anti-spam
Last push: 2026-06-23T08:47:13+00:00

## Health v2 (maintenance only)
Score: 83/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 89, release rhythm 65, longevity 100
- inputs: {"age_days": 4997, "days_push": 71, "days_rel": 78, "gap_med": 178.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1814, forks 308 (observed 2026-08-28T04:05:39.846730+00:00)

## What it is
A PHP library for generating CAPTCHA images to protect web forms from bots and spam. It builds distorted text images, exposes the phrase for session validation, and can test user input against it.

## Use cases
- add captcha to a php contact form
- prevent bot spam on registration forms
- generate captcha images in php
- validate human users before form submission
- protect login forms from automated attacks

## When to choose
- you need a self-hosted, dependency-light captcha in a PHP application
- you want full control over captcha appearance and validation without third-party services

## When to avoid
- you need accessibility-friendly or invisible bot protection like reCAPTCHA or hCaptcha
- your stack is not PHP

## Facets
- artifact type: library
- maturity: active
- function: security, image-processing, middleware
- domain: security, web-development
- platform: php
- tags: captcha, anti-bot, anti-spam, form-protection, bot-detection, web-server

## Member repositories
- Gregwar/Captcha (main) score 83

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:39.846730+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:20:39.869963+00:00, confidence not recorded.
  - readme: https://github.com/Gregwar/Captcha (fetched 2026-08-28T04:05:39.846730+00:00, sha e771b6e83feb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
