title: How to read excel data in Laravel?
body: <p>I am trying to read data from excel and import into my database. i tried reading it using
   <code>dd()</code> but am seeing some horrible things which isn't the actual data in the excel. dont know if there is something i have to do. I need help.</p>
  
  <p>this is what i have done so far</p>
  
  <pre><code>        public function import_results(Request $request)
          {
  
             $this-&gt;validate($request,[
  
              'file' =&gt; 'required|mimes:csv,xls,xlsx'
             ]);
  
              $file = file($request-&gt;file-&gt;getRealPath());
              dd($file);
  
         }
  </code></pre>
  
  <p>afterwards  this is what i see which isn't the data in the excel Sheet</p>
  
  <p><a href="https://i.stack.imgur.com/9WH1N.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9WH1N.png" alt="enter image description here"></a></p>