title: How to increase maximum upload size in Laravel 6.11
body: <p>I am tryiong to upload a picture to my laravel 6.11.0 project and the limit is 2MB. How can I increase this value ? </p>
  
  <p>here is the function</p>
  
  <pre><code> public function storeProductPic() {
          $data = request()-&gt;validate([
              'image' =&gt; 'required|image|mimes:jpeg,png,jpg,gif,svg'
          ]);
          //uploading the image
          $imageName = time().'.'.request()-&gt;image-&gt;getClientOriginalExtension();
          request()-&gt;image-&gt;move(public_path('images'), $imageName);
          $productPic = new ProductPic();
          $productPic-&gt;link = "/images/".$imageName;
          $productPic-&gt;save();
          return back();
      }
  
  </code></pre>