php::config documentation and examples

Hi Stephan

Lets merge those changes from the pull request. I need to keep a fork for the moment. I might be making changes that are specific to the project that I am working on. 

However, I will clone the master branch and contribute.

Goran