The Philadelphia Phillies have agreed to a minor league contract with Ryan Hanigan and invited him to spring training.

Hanigan will earn $1.25 million if added to Philadelphia's 40-man roster.

He also has the chance to earn $375,000 in performance bonuses based on starts at catcher.

Hanigan played the last two seasons with the Boston Red Sox.