title: How can I get a unique list of object that have a certain relationship with another object?
body: <p>I have a simple Larval model where a user has many posts and each post has one category. Database, migrations ans models are properly set up.</p>
  
  <p>However, how can I get a list of all categories that a certain user has published posts to using Eloquent?</p>