I'm new to Laravel. I want to display all post including the user who posted the post. I have a simple query which displays all post, and displays selected post using post id.

```
public function view_post($id)
    {
        $post = User::find($id);

        dd($post);

    }

```

This is working perfectly fine but I wanted to display all post with the user who posted the post. How can I do this in proper way?