title: Retrieving More than 10,000 rows in Laravel App
body: <p>I'm trying to get all the rows from my mysql table which has 160000 rows of data and I want to pass that to REST API. </p>
  
  <p>The app is built on Laravel and whenever I query, the server shuts down and app shows me internal server error, 500. I have tried to increase the memory limit for the app as well but it hasn't worked for me.</p>
  
  <p>Laravel Eager Loading hasn't worked either. Is there a way to get all the rows of the table in the app?</p>