An error message will appear and inform you that it failed:
controller
if($validation->fails()){ return Redirect::back()->withErrors($validation)->withInput(); } foreach($errors->all() as $error) { echo $error; }
And in your blade template add this:
@foreach($errors->all() as $error) <div> {{$error}} </div> @endforeach
And this will return a message with any error. Email does not match. Required field. Blah blah
You can also remove this array of addresses from the $ message. The validator will handle everything for you. You only want to use this if you want to customize messages.
You can also try var_dump this expression:
var_dump ($ validation-> errors ()); are dying;
source share