I have been using Eloquent ORM for some time now and I know it quite well, but I can\'t do the following, while it\'s very easy to do in Fluent.
I h
Any method that's available in Fluent should also be available with Eloquent. Perhaps this is what you're looking for?
$songs = Song->join('song_user', 'songs.id', '=', 'song_user.song_id') ->where('song_user.user_id', '=', $user->id) ->orderBy("song_user.play_count", "desc") ->get();