title: Fetch All users who has at least one post in laravel
body: <p>Please guide me,</p>
  
  <p>How can I get all users in Laravel, who has posted at least single post. And skip who has not posted any posts.</p>
  
  <p>I am trying this. But it is getting All users. </p>
  
  <pre><code>$users = User::with('post')-&gt;get(); 
  </code></pre>