spiral/validator
Spiral Validator is a flexible validation library for PHP and the Spiral Framework. It offers rule-based checkers, nested array and object validation, custom messages, and attribute-driven constraints, making it easy to validate incoming request data cleanly.
Illuminate\Validation with declarative rules, nested validation, FormRequest, error bags, and ValidationException handling. Adopting spiral/validator would mean buying a second validation system and then building a bridge to Laravel — a net increase in cost and risk.FormRequest classes. The product decision is therefore “use the platform” rather than “add a dependency.”FormRequest, and custom rule classes. They provide stronger framework alignment, better documentation, community support, and native error/exception behavior.spiral/validator and recommend against adopting it for our Laravel products. Laravel already provides mature validation with native request integration and structured errors. Adding this package would create custom integration work and vendor risk without improving delivery speed or customer experience. The decision protects roadmap capacity and reduces long-term maintenance cost.”ValidationException behavior, while offering no clear advantage over Illuminate\Validation. If we want DSL-style validation internally, we should borrow the pattern, not the dependency.”How can I help you explore Laravel packages today?