I have the following loop in a view table
@foreach ($filme as $f)
<tr>
<td>{{ $f->fil_id }}</td>
<td>{{ $f->fil_filme }}</td>
<td>{{ $f->fil_sinopse }}</td>
<td>{{ $f->fil_lancamento }}</td>
<td>{{ $f->cat_id }}</td>
</tr>
@endforeach
But it only displays the category id because it is in the movie table. How to give an INNER JOIN with the category table in laravel 5?