laravel relation model how to get author's name in comment model through post model
<p>I have a question about Laravel's relation model</p>

<pre><code>comment table        id post_id

post table           id author_id

author table         id name
</code></pre>

<p>I want use relation model to get author's name in comment model through post table, how to realize this. Thanks a lot.</p>