PHILADELPHIA (AP) -- Lucas Duda has struggled against left-handed pitchers this season, but he came up clutch this time.
It was New York's 11th victory over the Phillies in the last 12 games in Philadelphia.
Long after starters Cole Hamels and Dillon Gee exited following their duel, Curtis Granderson opened the 11th with a single off Antonio Bastardo (5-5). Following an out, David Wright singled and Eric Campbell walked to load the bases.
Duda then lined Bastardo's first pitch sharply into right field to score Granderson.
''I was lucky enough to just elevate a ball and sneak it over the second baseman's head,'' Duda said.
The hit was just the 12th in 71 at-bats for the left-handed hitting Duda against lefty pitchers. He also singled in the fifth against Hamels.
''I'm really happy for him and happy for us that he's in there, and he's going to fight and he's going to battle and try to put some good at-bats on left-handed pitching,'' Mets manager Terry Collins said.
Duda raised his average against lefties to .169.
''It's great for him, great for his confidence and everything else,'' Collins said.
Justin De Fratus relieved Bastardo and got the final two outs.
Dana Eveland (1-1) retired the Phillies in order in the 10th for the win. Jeurys Familia earned his second save in six opportunities but had to wriggle out of a two-out jam to get it.
''That was a good grind-out win for us,'' Collins said.
Ryan Howard singled and Marlon Byrd walked to put runners on first and second in the 11th for Domonic Brown. But Familia got Brown to ground out to shortstop.
Regular Mets closer Jenrry Mejia wasn't available after a heavy workload the previous two nights, Collins said before the game.
Carlos Ruiz homered for the Phillies, who dropped to 12-48 when scoring three runs or less.
''We just weren't able to put some runs on the board,'' Phillies manager Ryne Sandberg said.
Hamels continued his dominant stretch but didn't get anything to show for it. The left-hander allowed one run and five hits in seven innings with five strikeouts and three walks.
The Mets scored in the fifth off Hamels, snapping his 22-inning steak without allowing an earned run. New York loaded the bases with no outs on singles by Duda and Juan Lagares sandwiched around a walk to Travis d'Arnaud.
Duda then scored on Wilmer Flores' hard-hit grounder. Third baseman Cody Asche lunged to stop the ball, but elected to throw to second rather than attempt to get Duda at home. Hamels threw up his hands in disgust after the run crossed.
''Cody made an outstanding catch,'' Hamels said. ''I knew that run was going to score.''
The Phillies tied it in the seventh on Ruiz's two-out homer to left. It was Ruiz's third homer of the season and first since June 7.
''Right in his wheelhouse,'' Gee said.
That was one of three hits the Phillies got off Gee, who struck out four and walked three in seven strong innings.
Besides Ruiz, Philadelphia got just one runner to second base off Gee. Brown advanced on Ruiz's second-inning single.
Jake Diekman pitched a scoreless eighth, Jonathan Papelbon tossed a 1-2-3 ninth, and Ken Giles struck out two in the 10th for the Phillies.
Josh Edgin and Vic Black combined to allow one hit in two scoreless relief innings before turning the ball over to Eveland.
New York's Daniel Murphy went 0-for-5, snapping his streak of five straight multi-hit games.
Phillies: Brown returned to the starting lineup for the first time since a throat infection sidelined him for three days, and went 0-for-3. Brown has participated as a pinch-hitter in the last four games, going 0-for-4 with three strikeouts.
Mets: Right-hander Matt Harvey threw 29 pitches off the slope of the mound in Port St. Lucie on Saturday. Harvey is rehabilitating following Tommy John surgery last Oct. 22.
Mets right-hander Zack Wheeler (7-8, 3.48) opposes Phillies right-hander Kyle Kendrick (5-11, 4.74) in the third game of the four-game series on Sunday. Wheeler, who has won four straight games, allowed one run in 6 1/3 innings in his only career start at Citizens Bank Park. Lifetime against Philadelphia, he is 2-1 with a 2.59 ERA in four starts. Kendrick is coming off his best start of the season when he allowed one run and five hits in seven innings in Tuesday's 2-1, 15-inning win over Houston. He is 8-9 with a 3.82 ERA in 25 games - 19 starts - against the Mets.
Former Phillies manager Charlie Manuel was inducted into the club's Wall of Fame in a pregame ceremony that included Hall-of-Famers and fellow inductees Jim Bunning, Mike Schmidt and Steve Carlton. Manuel managed nearly nine seasons and owns the Phillies record for most games managed (1,416) and most victories (780). He led the Phillies to five straight NL East titles and two World Series appearances and the 2008 championship.
Manuel, one of the most beloved managers or coaches in Philadelphia sports history, delivered a moving and humorous speech during the pregame.
''I never thought I'd ever coach in big leagues,'' Manuel said. ''My intention was to teach and hang around ballpark so I could take BP.''
Hamels has a 0.73 ERA in his last five starts but is 3-1. It was the ninth no-decision for Hamels (6-6), who has been a victim of lack of run support this season.
''Cole is on a terrific run,'' Sandberg said. ''You almost come to expect it. But we've been coming up short on run support.''
The lefty has maintained a good attitude through the lack of offensive help.
''I just have to keep on pitching and see what happens,'' he said.
It was a turnaround outing for Gee, who was 0-3 with a 6.85 ERA in his last four starts.
It also was an improvement in Philadelphia, where Gee had a 9.56 ERA in seven appearances (six starts) entering Saturday.
''It's nice to go out there and put up a quality start, especially here and against that team,'' Gee said.