Hamels had a season-high 11 strikeouts in seven dominant innings, Brown hit another homer and the Phillies beat the Miami Marlins 6-1 on Wednesday to complete a three-game sweep and even their record for the first time since they were 6-6.
"Getting back to .500 is key to starting over," Hamels said. "We want to keep the same approach we've had, win series and fight for first place."
Hamels (2-9) allowed one run and four hits to snap a personal six-game losing streak. The three-time All-Star lefty and 2008 World Series MVP hadn't won since April 28 at the New York Mets.
Jimmy Rollins hit a go-ahead RBI single with two outs in the seventh off A.J. Ramos (0-2). Ryan Howard followed with a two-run triple, diving headfirst into third.