Burrell also equaled a season high by scoring three runs as Philadelphia won for the fifth time in six games.
Hamels (11-8) went seven innings, allowing two runs and five hits while striking out five and walking none. He has often received little support this season, including his last three starts, when Philadelphia totaled six runs.
The Phillies have scored only nine runs over Hamels' last six losses, but their hitters had no such problems Saturday.
Ryan Howard doubled and drove in two, and Shane Victorino had two RBIs for the Phillies, who have scored 17 runs in consecutive wins over the Dodgers after entering Friday night with 61 runs in 19 games (3.1 per contest) in August.
Los Angeles rookie left-hander Clayton Kershaw (2-4) had his worst outing of the season as the Dodgers lost for the fourth time in five games. Kershaw, making his 15th career start, allowed a season-high six runs and seven hits in four-plus innings. He walked two and struck out five.
Russell Martin hit a two-run homer in the third inning for the Dodgers. Martin had been in a power funk, with just one RBI in his previous 16 games.
Notes: It was the 10th time Burrell had five RBIs in a game. The previous time was May 11, 2007, against the Chicago Cubs. He also reached 30 homers for the fourth time in his nine-year career. The Phillies placed OF Geoff Jenkins on the 15-day disabled list with a strained right hip flexor and called up INF Andy Tracy from Triple-A Lehigh Valley. Jenkins injured his hip while beating out an infield single Friday. Kershaw singled to center in the fifth for his first major league hit. He was 0-for-19 with 10 strikeouts entering the at-bat.