MIAMI — Giancarlo Stanton homered twice Friday, increasing his major league-leading total to 49, and tied a career high with five RBI to help the Miami Marlins climb above .500 for the first time since April by beating San Diego, 8-6.

Marcell Ozuna hit a three-run homer, his 30th, to put Miami ahead to stay in the seventh inning.

Stanton has nine multi-homer games this season, the most in the majors since Jose Bautista had nine with Toronto in 2010. Stanton’s home run total is the highest in the National League since Prince Fielder hit 50 for Milwaukee in 2007 – and the Marlins still have 35 games to play.

Stanton is on pace to finish with 63 homers. He increased his RBI total to 105, tying his career high.

Led by their All-Star right fielder, the Marlins (64-63) have recovered from a 14-27 start to join the NL wild-card chase.

PHILLIES 7, CUBS 1: Rhys Hoskins hit another homer and Cesar Hernandez ripped a three-run triple to back Jerad Eickhoff, boosting Philadelphia at home.

Since being called up from the minors, Hoskins has nine homers and 21 RBI in 16 games.

Eickhoff (4-7) allowed one run and five hits, striking out eight in five innings.

METS 4, NATIONALS 2: Jacob deGrom had 10 strikeouts in 72/3 innings against Washington’s makeshift lineup, and the Mets won on the road.

DeGrom (14-7) allowed one run on five hits. He upped his strikeout total to 201 this season by fanning the side in the seventh.

Mets outfielder Yoenis Cespedes left in the first with a right hamstring strain.

BRAVES 5, ROCKIES 2: Julio Teheran won at home for the first time in four months, Matt Kemp and Kurt Suzuki hit home runs and Atlanta beat Colorado.

Teheran (8-11) snapped an Atlanta record streak of nine straight home losses as he allowed two runs and five hits with no walks in 71/3 innings.

REDS 9, PIRATES 5: Rookie Robert Stephenson fanned a career-high 11, and Scott Schebler drove in three runs with a homer and his first triple of the season, leading Cincinnati at home.

Stephenson (2-4) stymied Pittsburgh with sharp-breaking pitches in his fifth start and 19th overall appearance, allowing two runs in 52/3 innings.

AMERICAN LEAGUE

INDIANS 4, ROYALS 0: Rookie Ryan Merritt pitched a career-high 62/3 innings and host Cleveland recorded its AL-leading 13th shutout.

Merritt (1-0) was called up from Triple-A Columbus to take the injured Danny Salazar’s spot. The 25-year-old left-hander scattered seven hits for his second career win, both coming against Kansas City. Three relievers finished the eight-hitter.

TWINS 6, BLUE JAYS 1: Bartolo Colon pitched 62/3 innings for his second straight win, Byron Buxton had three hits and two RBI, and Minnesota won at Toronto.

Joe Mauer had three hits and scored twice as Minnesota snapped a seven-game losing streak north of the border.

WHITE SOX 3, TIGERS 2: Tim Anderson led off the bottom of the ninth with a double and Yolmer Sanchez followed with an RBI single that sent Chicago to its third straight win.