# Wixel/GUMP

A fast, flexible PHP validation class that works anywhere and validates any data.

Repository: https://github.com/Wixel/GUMP
Canonical: https://ross.abutalabs.com/products/gump
Homepage: https://packagist.org/packages/wixel/gump
Language: PHP
License: MIT
License Family: permissive
Topics: php, validation, validator
Last push: 2026-05-23T16:00:17+00:00

## Health v2 (maintenance only)
Score: 78/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 83, release rhythm 59, longevity 100
- inputs: {"age_days": 5707, "days_push": 102, "days_rel": 278, "gap_med": 6.0, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1167, forks 332 (observed 2026-08-28T04:03:50.746895+00:00)

## What it is
GUMP is a standalone, zero-dependency PHP data validation and filtering library with 76 built-in validators, XSS sanitization, and support for 19 languages. It works with any PHP project or framework from PHP 7.1 to 8.4+.

## Use cases
- validate form input in php
- sanitize user data to prevent xss
- validate api request payloads in php
- add custom validation rules to a php project
- validate data without a framework
- localized validation error messages

## When to choose
- you need framework-agnostic validation in any PHP project
- you want a lightweight, zero-dependency validator
- you need multilingual validation error messages
- you want built-in XSS filtering and sanitization

## When to avoid
- you are using a full framework with its own validation (e.g. Laravel, Symfony)
- you need schema validation for JSON documents specifically
- you need client-side JavaScript validation

## Facets
- artifact type: library
- maturity: stable
- function: form-handling, security, internationalization
- domain: developer-tools, web-development, backend
- platform: php
- tags: data-validation, input-filtering, sanitization, framework-agnostic, zero-dependencies

## Member repositories
- Wixel/GUMP (main) score 78

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:50.746895+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-30T06:28:50.102884+00:00, confidence not recorded.
  - readme: https://github.com/Wixel/GUMP (fetched 2026-08-28T04:03:50.746895+00:00, sha 00fd6ec1a320)
  - homepage: https://packagist.org/packages/wixel/gump (fetched 2026-08-29T12:34:50.746919+00:00, sha b5c1281fb7b4)
  - site_page: https://packagist.org/about (fetched 2026-08-29T12:34:50.758532+00:00, sha 29af46773a45)
  - site_page: https://packagist.org/packages/wixel/gump/stats (fetched 2026-08-29T12:34:50.756770+00:00, sha 6e9f1833fa71)
- Data as of 2026-08-30T08:39:29.467469+00:00.
