Fixed php plugin and added new command to php