Whit Merrifield and the Phillies have agreed to a one-year, $8 million contract, sources told ESPN on Friday.