Added PHP helper class