Murphy, who had gone 352 at-bats since his last home run on July 16, 2011, said it was funny to blast his first two long balls of the season in consecutive plate appearances.
"The biggest thing I was happy about is the first one was a two-out RBI in a 2-1 ballgame," Murphy said. "I feel like that team over there is very scrappy. If we let them hang around, they've shown they'll make us pay for mistakes."
Murphy smacked a double and two home runs in his first three at-bats of a 17-1 win. He entered the game with two hits in his last 13 at-bats.
Manager Terry Collins said despite the falling batting average, he thought Murphy had been putting good swings on the ball in recent plate appearances.
"You know he's going to break out," Collins said. "Dan Murphy's way too good a hitter. I'm glad it was today. Hopefully, this is a good sign as we head toward the second half."
Collins doesn't expect Murphy to be a significant power threat, but he expects Murphy will gather more home runs as the season progresses.
"He's not going to be a big home run hitter, never has been, but to hit 12 to 15 homers is going to come up big for us," Murphy said. "I think that's what he's going to do. That's what he's done in the past. As we head into the second half, that's something to look forward to."
Nobody was happier for Murphy than first baseman Ike Davis, who also contributed a home run and went 3-for-5 with four RBIs.
"That was awesome, just to get it out of the way," Davis said. "Hopefully he can hit a couple more and help us win some more games."