# thedevsaddam/govalidator

Validate Golang request data with simple rules. Highly inspired by Laravel's request validation.

Repository: https://github.com/thedevsaddam/govalidator
Canonical: https://ross.abutalabs.com/products/thedevsaddam-govalidator
Language: Go
License: MIT
License Family: permissive
Topics: request, go-request-validation, validator, validation, go-validator, govalidator
Last push: 2024-05-12T11:52:08+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3276, "days_push": 843, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1342, forks 122 (observed 2026-08-28T04:04:26.259312+00:00)

## What it is
A Go library for validating HTTP request data (form-data, x-www-form-urlencoded, query params, JSON) using simple rule strings, inspired by Laravel's request validation. It supports custom error messages and returns validation errors as structured maps.

## Use cases
- validate http request data in go
- validate form inputs with rules like required and email
- laravel-style validation for golang apis
- return  validation errors from go handlers
- validate query parameters in go web server
- custom validation error messages in go

## When to choose
- you want Laravel-style declarative request validation in Go
- you need to validate form data, urlencoded bodies, query params, or JSON in HTTP handlers
- you want custom per-field error messages

## When to avoid
- you need struct-tag-based validation integrated with your models
- you use a full web framework with built-in validation
- you need actively developed features or recent bug fixes

## Facets
- artifact type: library
- maturity: maintenance
- function: middleware, form-handling, web-framework
- domain: web-development, backend, developer-tools
- platform: go, cross-platform
- tags: request-validation, laravel-inspired, input-validation, http, web-server

## Member repositories
- thedevsaddam/govalidator (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:26.259312+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-30T04:43:42.591561+00:00, confidence not recorded.
  - readme: https://github.com/thedevsaddam/govalidator (fetched 2026-08-28T04:04:26.259312+00:00, sha 91371c7b804e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
