saritasa/laravel-fluent-validation
A Laravel package that adds fluent, chainable validation rule builders, letting you define complex validation logic in expressive PHP instead of long arrays or strings. It simplifies custom rules and keeps validators readable, reusable, and easy to maintain.
Rule:: objects."['required','string','max:255'] arrays, this package is a concrete example of the fix — useful for sizing a small internal "validation helpers" epic.Consider it when:
app/Support/Validation or shared package namespace, with your own tests and Laravel-version compatibility ownership. Given the archived status, this is the only responsible way to use it.Look elsewhere (or don't adopt) when:
Rule:: objects, required_if, and array syntax already cover most cases, and adding a DSL adds onboarding cost for new engineers.To executives: This is not a vendor or platform bet — it is a small, MIT-licensed code pattern for making Laravel validation rules easier to read and review. The package itself is archived with negligible adoption, so we would not take it as a dependency; we would copy the approach into our own codebase, where we control it. Cost is a few engineering days, risk is near zero, and the payoff is cleaner, more consistent API validation as the surface area grows.
To engineering: Treat it as a reference implementation, not a dependency. It gives us chainable builders for request validation rules that replace sprawling nested arrays and make conditional rules obvious at a glance. Because the upstream repo is archived (last release January 2024, zero dependents), the proposal is to vendor the builder classes into our own namespace, add tests, and own Laravel-version compatibility ourselves. If we like the ergonomics, we can extend it into a shared internal package and standardize rule sets across services — turning a one-off convenience into a reusable platform asset without inheriting an unmaintained dependency.
How can I help you explore Laravel packages today?