title: How to handle a lot of PDF generations in a Laravel based application and send them by email
body: <p>I'm just curious how would you handle a scenario where a lot of PDF's has to be generated on the server and be send to the user by email. You're not able to temper with the PDF because it needs to be 100% secure or close to that number.</p>
  
  <p>For example the PDF contains the order you just made in a webshop, proof of purchase or something like that.</p>
  
  <p>The application will have a lot of concurrent users. For this question I will use Laravel as a base platform for the web application.</p>
  
  <p>I had the idea of running a cron job at night that will generate all this PDF's at once and send per e-mail. </p>
  
  <p>What is considered best practise in this scenario? </p>