use php template
add blocked/requirements checking