Email Validation And Message In Laravel

//email validation and message
	//controller file
	public function store(Request $request)
	{
		$this->validation($request, ['email'=>'required|email']);
	}
	//Now on view page
	@if($error->any())
		@foreach($error->all() as $error)
			<li>{{ $error }}</li>
		@endforeach
	@endif

Related Posts