What's the best method to use to transfer music from iPhone to iTunes?

This is for music I downloaded myself, not purchased through iTunes. It all seems to have disappeared from iTunes on the Mac, but remains on the iPhone.

I've seen various downloads to use, just need a recommendation from some educated heads.

You can try iExplorer