title: Export Data to CSV or Excel Laravel
body: <p>I have this Data Array like this</p>
  <p>I have stored this value in <code>$data</code> variable</p>
  <p><a href="https://i.stack.imgur.com/9pDRw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9pDRw.png" alt="enter image description here" /></a></p>
  <p>I want to export this data into Excel or CSV</p>
  <p>I have tried multiple ways &amp; checked a lot articles but still can't find anything</p>