runn/validation
A Laravel validation package that extends the framework's built-in validator with additional rules and helpers, making it easier to define and reuse custom validation logic across your application's forms and requests.
Validator, spatie/laravel-data, respect/validation, and Symfony's Validator component. Evaluating it forces an explicit answer to "what does our validation layer actually need that the framework doesn't give us?"runn/validation is framework-agnostic, which makes it relevant to a real product question: should validation rules live in the HTTP layer (FormRequests) or in the domain layer so they can be reused by console commands, queue workers, imports, and webhooks? If your roadmap includes bulk import, partner API ingestion, or CLI tooling, domain-level validation becomes a genuine architectural decision rather than a style preference.Adopt only under a narrow set of conditions, ideally all of them:
Validator-compatible API. In a Laravel app, every ergonomic benefit — $request->validate(), Rule:: objects, localized messages, testing helpers — is something you would rebuild yourself.Look elsewhere when:
Validator and FormRequests; reach for spatie/laravel-data for typed DTOs, or respect/validation / Symfony Validator (via a bridge) if you need framework-agnostic rules with far larger communities.Bottom line: do not adopt. The category is worth investing in; this package is not the way to do it.
For executives: We evaluated runn/validation, an open-source PHP validation and sanitization library, as a potential dependency. Recommendation is to decline. It has negligible adoption (10 stars, zero dependent projects), a copyleft-family license (LGPL-3.0) that would require legal review before shipping in a commercial product, and no integration with our framework — meaning we would build the integration ourselves and then own the library, since there is no realistic upstream support. The functional need it addresses is already covered at zero cost and zero risk by framework-native tooling and well-maintained alternatives. Adopting it would add legal review effort, supply-chain exposure, and maintenance burden in exchange for capability we effectively already have.
For engineering: This is a small, framework-agnostic validate-and-sanitize library. There's no service provider, no facade, and no Laravel-facing API, so the realistic work is "write our own adapter, then own the dependency." It's a single-maintainer project with no dependents — treat it as a fork, not a dependency. If the underlying idea (sanitize-then-validate, domain-layer rules reusable across HTTP, queues, and CLI) is what appeals to you, that's a pattern worth adopting; the library is not required to adopt it. Recommend the native Validator for HTTP boundaries and spatie/laravel-data for typed DTO validation, and revisit a shared domain-validation layer as a first-party abstraction if the import and webhook work on the roadmap materializes. Worth restating the one durable takeaway: validation demand is high, and our current answer is scattered — that's worth a spike, just not this dependency.
How can I help you explore Laravel packages today?