title: How to optimize speed for multiple CURL get requests in PHP?
body: <p>I'm connecting to an API with PHP through a CURL GET and I receive a json with almost 5000 orders. For every order I make another CURL GET and receive the order details (basically 2 foreach). After that I make some inserts and updates in the database (basic stuff) with LARAVEL.</p>
  
  <p>The big problem is that for those 5000 orders I have a loading time of almost one hour. I need to this with a cron every night (and for more than 5000).</p>
  
  <p>I have a cloud solution with 2GB Memory and 2 CoreProcessor.</p>
  
  <p>I tried also Zebra Curl but cannot use that with curl in curl request.</p>