Getting subsets of validated data in Laravel 8.x
August 21, 2021 — Laravel offers mainly two ways to validate the request data inside of the controller methods. Either you can directly call the validate
method on the Illuminate\Http\Request
object and set the validation rules or you can create a form request and type-hint the controller method with this form request class.