Herrera, who will earn $10 million this season, hasn't played for the Phillies since 2019, when he was suspended under Major League Baseball's domestic violence policy.
The charges against Herrera were dismissed, but he was removed from the team's 40-man roster last year and wasn't part of the 60-player pool for the shortened season.
He will report to the team's minor league minicamp.
Catcher Jeff Mathis signed a minor league deal with the Phillies on Tuesday and will join the major league camp. Mathis batted .161 in 24 games for Texas last season.
Other non-roster players invited to major league spring training include: pitchers Neftalí Feliz, Brandon Kintzler, Bryan Mitchell, Ivan Nova, Hector Rondon and Michael Ynoa; catchers Christian Bethancourt and Rodolfo Durán; infielder Ronald Torreyes and outfielders Travis Jankowski and Matt Joyce.