R.J. Barrett scored 31 points and the Toronto Raptors beat Philadelphia 127-109 on Sunday night to send the 76ers to their eighth straight loss.