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.
Jessica Simpson shares three-way kiss with friends in photo
Teacher apologizes for showing sexual image of herself in class