title: How to recieve image blob data by Cropper Js in laravel controller
body: <p>I am working with cropper js and laravel, I cropped the image and put it into the formdata and send it to the Laravel controller by Jquery Ajax.
  The problem it that I do not get data in controller. but only get an error.
  the code is given below:</p>
  
  <p>HTML</p>
  
  <pre><code>&lt;button type="button" name="button" id="crop"&gt;Crop&lt;/button&gt;
  &lt;img src="{{asset('public/img/img.jpg')}}" id="image" alt="" style="height: 500px;"&gt;
  </code></pre>
  
  <p>Jquery and Cropper Js Code</p>
  
  <pre><code>&lt;script src="{{asset('public/js/jquery.min.js')}}"&gt;&lt;/script&gt;
  &lt;script src="{{asset('public/js/cropper.min.js')}}"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
  $(document).ready(function(){
    var ele = document.getElementById('image')
      var cropper = new Cropper(ele);
  
      $('#crop').on('click', function(){
        var crop = cropper.getCroppedCanvas();
        crop.toBlob(function(blob){
          var formdata = new FormData();
          console.log(blob);
          formdata.append('croppedImage', blob);
  
          $.ajaxSetup({
              headers: {
                  'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
              }
          });
  
          $.ajax("{{url('crop/save')}}", {
            method: "POST",
            data: formdata,
            enctype: 'multipart/form-data',
            cache: false,
            processData: false,
            contentData: false,
            success(data){
              console.log(data);
            },
            error(data){
              console.log(data);
            },
          });
        });
  
      });
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>Laravel Route</p>
  
  <pre><code>Route::post('crop/save', 'CropperController@save');
  </code></pre>
  
  <p>Laravel Controller</p>
  
  <pre><code> public function save(Request $request){
    $data = $request-&gt;croppedImage;
    var_dump($data);
    //Here I want to get image and upload it on the system
    //But I cant Understand How
  }
  </code></pre>
  
  <p>Error</p>
  
  <pre><code> &lt;br /&gt;
   &lt;b&gt;Warning&lt;/b&gt;:  Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in &lt;b&gt;Unknown&lt;/b&gt; on line &lt;b&gt;0&lt;/b&gt;&lt;br /&gt;
  </code></pre>
  
  <p>Please Guide me, How to done this in proper way.
  Thanks in advance.
  Regards,</p>