title: Laravel eloquent eager loading `has-many` relationship with providing how many to load?
body: <p>I know I can use the <code>with</code> method to eager load relationships. But how to determine &quot;how many to load&quot;?</p>
  <p>For example, a <code>Post</code> model has many <code>Comment</code>, I want to load only 5 comments <em><strong>per post</strong></em>. Because a post could have thousands of comments I don't want to load them all. How could I do this?</p>
  <p>If I can't do this with Laravel eloquent, what would a raw SQL would be for such a usecase?</p>