{"id":36420627,"url":"https://github.com/arasdenizhan/slim-validator","last_synced_at":"2026-01-11T17:33:19.091Z","repository":{"id":302882738,"uuid":"1013719953","full_name":"arasdenizhan/slim-validator","owner":"arasdenizhan","description":"Lightweight annotation-based validation library for Java with zero dependencies.","archived":false,"fork":false,"pushed_at":"2025-08-25T20:48:47.000Z","size":12782,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-25T21:33:35.476Z","etag":null,"topics":["annotations","java","library","open-source","validation"],"latest_commit_sha":null,"homepage":"https://central.sonatype.com/artifact/io.github.arasdenizhan/slim-validator","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arasdenizhan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-04T10:59:38.000Z","updated_at":"2025-08-25T20:48:50.000Z","dependencies_parsed_at":"2025-07-04T16:05:08.552Z","dependency_job_id":"092b9542-c35d-4825-8c3a-65f5f3ae8fc0","html_url":"https://github.com/arasdenizhan/slim-validator","commit_stats":null,"previous_names":["arasdenizhan/slim-validator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arasdenizhan/slim-validator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arasdenizhan%2Fslim-validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arasdenizhan%2Fslim-validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arasdenizhan%2Fslim-validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arasdenizhan%2Fslim-validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arasdenizhan","download_url":"https://codeload.github.com/arasdenizhan/slim-validator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arasdenizhan%2Fslim-validator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28315879,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T14:58:17.114Z","status":"ssl_error","status_checked_at":"2026-01-11T14:55:53.580Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["annotations","java","library","open-source","validation"],"created_at":"2026-01-11T17:33:18.556Z","updated_at":"2026-01-11T17:33:19.084Z","avatar_url":"https://github.com/arasdenizhan.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# slim-validator\n\n![Build](https://github.com/arasdenizhan/slim-validator/actions/workflows/maven.yml/badge.svg)\n[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://github.com/arasdenizhan/slim-validator/blob/master/LICENSE)\n[![Release](https://img.shields.io/github/v/release/arasdenizhan/slim-validator)](https://github.com/arasdenizhan/slim-validator/releases/tag/1.2.0)\n[![Maven Central](https://img.shields.io/badge/Maven_Central-1.2.0-green)](https://central.sonatype.com/artifact/io.github.arasdenizhan/slim-validator)\n![Java](https://img.shields.io/badge/Java-ED8B00?style=flat\u0026logo=openjdk\u0026logoColor=white)\n\n**A lightweight, annotation-driven Java validation library with zero dependencies.**  \nEasily validate your POJOs using simple annotations like `@NotNull`, `@Min`, `@Max`, `@Pattern`, `@Email`, and `@Length`.\n\nMore features will be integrated soon.\n\n---\n\n## 🚀 Features\n\n- **Annotation-based validation** — simple and clear  \n- Supported annotations:  \n  - `@NotNull` — null check  \n  - `@Min` / `@Max` — numeric boundaries  \n  - `@Pattern` — regex pattern validation  \n  - `@Email` — email format validation  \n  - `@Length` — string length constraints\n  - `@NotBlank` — string null, empty and only whitespace check\n  - `@Past` and `@Future` — date check\n- **Performance optimized** — reflection access is cached  \n- **Easy integration** — just annotate your POJOs and call the validator  \n- **Open source** — community-driven and extendable\n\n---\n\n## 💡 Usage\n\n### 1. Define your POJO\n\n```java\npublic class UserDto {\n    @NotNull(message = \"Email cannot be null\")\n    @Email(message = \"Email format is invalid\")\n    private String email;\n\n    @Min(value = 18, message = \"Age must be at least 18\")\n    @Max(value = 99, message = \"Age must be less than 100\")\n    private Integer age;\n\n    @Length(min = 2, max = 3, message = \"Country code length must be between 2 and 3\")\n    private String countryCode;\n\n    // getters and setters\n}\n```\n\n### 2. Validate your object\n\n```java\nSlimValidator validator = new SlimValidator();\n\nUserDto userDto = new UserDto();\nuserDto.setAge(12);\nuserDto.setCountryCode(\"US\");\nuserDto.setEmail(\"email@example.com\");\n\nvalidator.validate(userDto); // throws ValidationException on failure\n```\n\n---\n\n## 📦 Central Repository\n\n- Maven (Latest Version)\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003eio.github.arasdenizhan\u003c/groupId\u003e\n  \u003cartifactId\u003eslim-validator\u003c/artifactId\u003e\n  \u003cversion\u003e1.2.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n- Gradle (Latest Version)\n```\nimplementation group: 'io.github.arasdenizhan', name: 'slim-validator', version: '1.2.0'\n```\n\n---\n\n## 🛠️ Development\n\n- Easily add new annotations and validation strategies  \n- Extensible architecture based on `StrategyFactory`  \n- Reflection caching for optimal performance\n\n---\n\n## 📚 Documentation\n\nThe full API documentation is available at:\n\n👉 [Javadoc for Slim Validator](https://arasdenizhan.github.io/slim-validator/)\n\n---\n\n## 📚 Benchmark Chart\n\n![chart](simulated-validator-benchmark-colored.png)\n\n---\n\n## 📄 License\n\nApache License 2.0 (Open source and free to use)\n\n---\n\n## 🤝 Contribution\n\nPull requests and issues are welcome!\n\n---\n\n## Contact\n\nDenizhan Aras — [github.com/arasdenizhan](https://github.com/arasdenizhan)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farasdenizhan%2Fslim-validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farasdenizhan%2Fslim-validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farasdenizhan%2Fslim-validator/lists"}