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.
Gal Gadot cast as Wonder Woman for 'Batman vs. Superman'
Beyonce flaunts bikini body, Blue Ivy in vacation pics