adepted php structure to latest changes for README workflow