I am using form request validation method for validating request in laravel 5.I would like to add my own validation rule with form request validation method.My request class
You don't need to extend the validator to validate array items, you can validate each item of a array with "*" as you can see in Array Validation
protected $rules = [ 'shipping_country' => ['max:60'], 'items' => ['array'], 'items.*' => 'integer' ];