Ryan Mathews headed to Eagles

The Philadelphia Eagles and former San Diego Chargers running back Ryan Mathews have reached agreement on three-year, $11.5 million deal that includes $5 million guaranteed, a source told ESPN NFL Insider Adam Schefter.

Mathews will help fill the void left by the Eagles' trade of running back LeSean McCoy to the Buffalo Bills. The team thought it had an agreement with Frank Gore earlier this week but the San Francisco 49ers running back changed his mind and instead signed a three-year deal with the Indianapolis Colts.

Mathews, 27, was selected No. 12 overall by the San Diego Chargers in the 2010 draft. In five seasons with the Chargers, Mathews rushed for 4,061 yards and 23 touchdowns, averaging 4.4 yards per carry. He's also totaled 146 receptions for 1,110 yards and a score.

Mathews had his best season in 2013, playing a full, 16-game season for the first time and finishing with a career-high 1,255 yards.

However, injuries plagued the Fresno State product in 2014, as he only played six games and was limited to 156 snaps on offense due to knee and ankle injuries. Mathews finished with 380 yards and three touchdowns in 2014, averaging a team-high 4.5 yards per carry.

ESPN.com Chargers reporter Eric D. Williams contributed to this report.