[php] adds commercial view helper and all functionality