Pavel Datsyuk and Niklas Kronwall each contributed a goal and two assists for Detroit, which scored three power-play goals in snapping a two-game losing streak.
Jimmy Howard earned the win, turning aside 32-of-34 shots.
Erik Gustafsson and Tye McGinn tallied for the Flyers, who dropped to 1-5-0 on the season.
Philadelphia goalie Ray Emery was touched for four goals on 29 shots.
Megyn Kelly: Santa Claus and Jesus are both white men
Video of Victoria’s Secret models trying to 'twerk' hits Instagram