How to return custom error message from controller method validation

90

$this->validate(
    $request, 
    ['thing' => 'required'],
    ['thing.required' => 'this is my custom error message for required']
);

Comments

Submit
0 Comments