Skip to content

Validatron is a Spring Boot validation library that provides a rich set of annotations for validating input fields with greater control and flexibility than standard JSR-303 constraints. It includes unique validators such as @strongpassword, @UniqueField, @trimmed, and country-specific validators like @ValidAadhaar, @ValidPAN, and more.

License

Notifications You must be signed in to change notification settings

pratham1singh/Validatron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✅ Validatron - Advanced Validation Toolkit for Spring Boot

Java Spring Boot License PRs Welcome


Validatron is a modular and extensible validation library for Spring Boot that goes beyond the default Bean Validation (javax.validation) constraints. It provides unique field-level and class-level annotations tailored for real-world enterprise applications—like unique DB fields, Aadhaar validation, input sanitization, password strength checks, and more.


🚀 Features

  • ✅ Plug-and-play custom validators
  • 🔒 Security-focused: includes XSS/SQL injection validation
  • 📆 Rich date and time checks (weekend-only, working hours, etc.)
  • 🆔 Country-specific ID validation (PAN, Aadhaar, GST)
  • 🔁 Cross-field logic (@FieldsMatch, @ConditionalRequired)
  • ⚙️ Simple annotation-driven usage
  • 🧪 Fully testable with built-in test support

📦 Installation

Coming soon as a Maven package. For now, clone and import as a module:

git clone https://github.com/pratham1singh/Validatron.git

About

Validatron is a Spring Boot validation library that provides a rich set of annotations for validating input fields with greater control and flexibility than standard JSR-303 constraints. It includes unique validators such as @strongpassword, @UniqueField, @trimmed, and country-specific validators like @ValidAadhaar, @ValidPAN, and more.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages