php check for project