Fix php doc

- fix config examples in README.md
- fix phpdoc (to improve code autocompletion)
- remove deprecated uses of key_exists
:+1: