Added hamcrest php api support