add support in the PHP templates