php doc added and readme.md updated