Raymond scored, and Ville Husso made 23 saves for the Red Wings (19-18-8), who are 1-3-1 in their past five games.
"It was one of those tight games where it was going to come down to the first play or the first mistake. They made the play and we made the mistake," Detroit coach Derek Lalonde said. "It's very tough to be completely upset with the game, but we're obviously upset with the outcome."
Flyers forward Nicolas Deslauriers kept the game scoreless at 4:50 of the third period, blocking a shot by Michael Rasmussen from the edge of the crease with Hart out of position.
"I didn't see it, but I guess it was a heck of a kick save," Hart said. "Everyone on the bench told me I owe him a steak dinner."
Philadelphia blocked 31 shots in the game. Detroit blocked 13.
"Our defensive game is built around taking away time and space and being willing to block shots," Flyers coach John Tortorella said. "We got back to doing those things tonight."
Laughton gave Philadelphia a 1-0 lead at 9:01, receiving a pass from Kevin Hayes as he split the defense before lifting a backhand under the crossbar.
"We were doing everything right, and then Hayes makes a nice play and we kind of just stopped playing," Red Wings captain Dylan Larkin said. "I didn't pick up my guy and we [got] caught watching. That's a backbreaker in a close game."