Skip the pile of if-statements building up a $rules array by hand. Rule::when() lets you attach rules conditionally, right where they belong.
#Validation
Articles
Skip the old Rule::passes()/message() dance. Build reusable, testable validation logic with ValidationRule invokable classes.
Stop stuffing regex into strings. Build reusable, testable validation rules with invokable Rule objects and closures.
Form Requests do more than validate. These tips cover authorization, data prep, after hooks, and returning clean validated data your controllers will love.