How to customize error messages in Laravel?
<p>Here is my code:</p>

<pre><code>public function store(Request $request){

    $this-&gt;validate($request, [
        'name' =&gt; 'required',
        'email' =&gt; 'required|email',
        'content' =&gt; 'required|min:10',
    ]);

    $new_array = array();
    $new_array['name'] = $request-&gt;name;
    $new_array['email'] = $request-&gt;email;
    $new_array['content'] = $request-&gt;content;
    contact::create($new_array);

    return back();
}
</code></pre>

<p>Now I need to set some new error-messages for those filters <em>(ex: <code>required</code>, <code>email</code>, ..)</em>.</p>

<p>Currently, this is the default error message for <code>required</code>:</p>

<blockquote>
  <p>The name field is required.</p>
</blockquote>

<p>How can I change it?</p>