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.
Ray Liotta sues skin care company over use of likeness
Boston schools pull out free condoms over wrapping complaints