Documentation improvements

- configuration options extended
- php code example improved