https://github.com/pratham1singh/validatron
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.
https://github.com/pratham1singh/validatron
java maven-plugin spring springboot springboot-annotation springboot-validation validation validatron
Last synced: about 1 month ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/pratham1singh/validatron
- Owner: pratham1singh
- License: apache-2.0
- Created: 2025-06-21T17:46:06.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-06-22T16:24:26.000Z (11 months ago)
- Last Synced: 2025-08-04T22:49:35.787Z (10 months ago)
- Topics: java, maven-plugin, spring, springboot, springboot-annotation, springboot-validation, validation, validatron
- Language: Java
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# โ
Validatron - Advanced Validation Toolkit for Spring Boot
[](https://www.oracle.com/java/)
[](https://spring.io/projects/spring-boot)
[](LICENSE)
[](CONTRIBUTING.md)
---
**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:
```bash
git clone https://github.com/pratham1singh/Validatron.git