Added PHP support and an example