He said it went well.
He will throw one more bullpen session early next week, and if that goes well, he said he should rejoin the rotation Friday against the Florida Marlins at Citizens Bank Park.
Hamels missed a start this week because of inflammation in his left shoulder.
"Cole is moving along fine," Phillies pitching coach Rich Dubee said.
Cliff Lee, Vance Worley and Kyle Kendrick will face the New York Mets at home next week. Hamels would open the series against the Marlins with Roy Oswalt and Roy Halladay pitching Saturday and Sunday, respectively.