marko/validation
A PHP validation package for Laravel-style applications, offering reusable rules and validators to keep request data clean and consistent. Helps centralize validation logic so forms, APIs, and models share the same checks.
marko/validation is only coherent if Marko Framework is already the platform. It is a [READ-ONLY] subtree split of the Marko monorepo — issues and PRs live upstream at marko-php/marko. There is no independent roadmap, no independent release cadence, and no maintainer surface to negotiate with. The product decision is really a framework decision wearing a package's clothes.Consider it only if:
Look elsewhere if:
Illuminate\Validation with Form Requests, Validator::make, custom Rule objects, and a very large ecosystem of community rules and localized messages. Adopting marko/validation on a Laravel codebase means adopting Marko — orders of magnitude larger than a validation swap. This is the decisive criterion and it disqualifies the package for most readers of this assessment.For executives — the one-paragraph version: "This is a component of a PHP framework, not a standalone library. It has zero stars and zero dependents, which means no external evidence of quality or production use. The only cost-justified reason to adopt it is if engineering has already committed to the Marko framework — in that case it's free, version-aligned, and better than hand-rolling validation. If we're on Laravel or any other mainstream framework, we already have comparable or better validation at zero incremental cost, and pulling this in would mean a framework migration disguised as a dependency choice. Recommendation: do not adopt as a standalone validation dependency."
For engineering — the working brief:
marko-php/marko. Budget for the fact that you cannot patch this repo directly and upstream responsiveness is unknown.Validator facade already solve this, and the ecosystem around custom rules is deep. We would be trading a solved problem for a framework migration.How can I help you explore Laravel packages today?