PHILADELPHIA -- All Ryan Braun needed to shake his slump was a trip to Philadelphia.

Braun hit three home runs and tied a franchise record with seven RBIs to lead the Milwaukee Brewers to a 10-4 victory Tuesday, spoiling the Phillies' home opener.

Braun connected twice off Kyle Kendrick (0-1), snapping the longest homerless drought of his career. The 2011 NL MVP came in with only three singles in 20 at-bats this season.

But Braun, who is bothered by a right thumb injury, felt just fine -- as usual -- in Philadelphia. He has 10 homers and 21 RBIs in 20 career games at Citizens Bank Park.

"It's a good ballpark to hit in," Braun said. "And, I enjoy competing against Jimmy Rollins, Chase Utley and Ryan Howard."

Coming off a three-game sweep of the World Series champion Boston Red Sox at Fenway Park, the Brewers won their fourth straight game and improved to 5-2.

Kyle Lohse (1-1) allowed three runs and seven hits in five innings, walking five.

Braun was booed in his first game in Philly since serving a 65-game suspension for violations of Major League Baseball's drug agreement and labor contract. He also got an earful last week in Boston.

It didn't bother him.

"It's very motivating," Braun said. "It's nothing new for me."

He hit a three-run shot to left in the third to put the Brewers up 4-1, ending his streak of 98 plate appearances without a homer. He hadn't hit one since May 22, 2013, against the Dodgers. Braun's solo homer in the fourth made it 6-1. He then launched a three-run drive off Brad Lincoln in the eighth.

"He's a special player," Brewers manager Ron Roenicke said. "There's no better way to silence the crowd."