title: PostTooLargeException in laravel 5.7
body: <p>When I try to upload a 8.54 mb images it generate a error  </p>
  
  <blockquote>
    <p>Illuminate \ Http \ Exceptions \ PostTooLargeException No message</p>
  </blockquote>
  
  <p>What I really want to do is validation to be done before uploading and a customized error message to be display mentioning that the l image capacity is too large to upload </p>
  
  <p>this is my controller <strong>ProfileController.php</strong></p>
  
  <pre><code>public function update_avatar(Request $request){ 
           $request-&gt;validate([ 
              'avatar' =&gt; 'required|image|max:2048',                 
        ]);
  
          $user = Auth::user();
          Storage::delete('/avatars/'.$user-&gt;avatar); 
          $avatarName = $user-&gt;id.'_avatar'.time().'.'.request()-&gt;avatar-&gt;getClientOriginalExtension();
  
          $request-&gt;avatar-&gt;storeAs('avatars',$avatarName);     
          $user-&gt;avatar = $avatarName;    
          $user-&gt;save(); 
  
               return back()-&gt;with('success','You have successfully upload image.');     
      }
  </code></pre>