webman-tech/laravel-validation
Laravel Validation for Webman lets you use Laravel's familiar Validator, validation rules, error messages, and custom rule objects directly in Webman applications. It adds form and request validation without the full Laravel framework, keeping validation simple and consistent.
illuminate/validation — the exact validator that ships with Laravel. That is a "buy" decision with a well-known API surface, which lowers the cost of onboarding PHP engineers already fluent in Laravel.required, email, unique, nested arrays, custom rule objects) instead of ad-hoc if/filter_var checks scattered across controllers.Adopt when:
Look elsewhere (or vet carefully) when:
illuminate/validation yourself) before committing to production-critical paths.To executives: This is a low-cost enabler for delivering validated, production-grade APIs faster. It lets our PHP engineers reuse the most widely used validation library in the PHP ecosystem (Laravel's) inside our Webman services, cutting custom code and reducing the class of bugs that come from inconsistent input handling. Investment is minimal and the primary risk — a small open-source project — is mitigated by pinning versions and keeping the integration shallow enough to swap out.
To engineering: It's a thin bridge that exposes Laravel's Validator inside Webman so we stop reinventing rule engines per service. You get the familiar rule syntax, custom rule classes, nested array validation, and translation out of the box. Caveats: the project is small (single-digit adoption, no dependents), so we will pin the version, wrap the integration behind our own validation service/facade, and add our own test coverage. If maintenance stalls, the escape hatch is to depend on illuminate/validation directly — the interface we code against stays the same.
How can I help you explore Laravel packages today?