Laughton scored a shorthanded goal on a breakaway to cut it to 2-1 at 7:14 of the second period. It was Philadelphia's first shorthanded goal of the season and Laughton's first goal in 26 games.
Jesper Boqvist made it 3-1 at 9:00 with a one-timer from the slot off a pass from Nick Merkley.
"There's a lot of smiles out there," Boqvist said. "It was a great win today and we feel confident in our game. I feel like we showed that today."
Sean Couturier scored on a tip-in at the left post to pull the Flyers within 3-2 at 12:17 of the second period.
Zacha scored on a snap shot from the left circle to give the Devils a 4-2 lead at 13:15 of the third period. Jesper Bratt scored into an empty net to make it 5-2 at 15:53, and Travis Konecny's power-play goal cut it to 5-3 at 18:10.
"It's meant a lot for the team, especially the fan base (to win two straight games)," Devils defenseman Damon Severson said. "I know losing at home [stinks], losing in general [stinks]. We've had a tough year. Being able to close games out is big. You can see our younger guys are coming a long way in that aspect, not only offensively, but just being able to lock the games down defensively."
NOTES: Flyers center Kevin Hayes, who hasn't scored in 15 games, was a healthy scratch. ... Philadelphia goalie Carter Hart is out for the season because of a sprained MCL in his left knee. ... Devils defenseman Kevin Bahl was plus-1 with three hits and a blocked shot in 15:01 of ice time in his first NHL game. He became the seventh player to make his NHL debut for New Jersey this season (Sharangovich, Ty Smith, Mikhail Maltsev, Tyce Thompson, Marian Studenic, Nolan Foote). ... Devils defenseman P.K. Subban was in his final day in NHL COVID-19 protocol and could return to the lineup Saturday.