[php] adds custom page creation