I used this simple configuration class in some smaller projects already, so I decided to extract it as a package. Albeit being small and simple, it usually offers enough functionality when you just want to read configuration from plain PHP arrays (either inline or from files).
It was designed to not add any other dependencies to your project. If you require YAML support, this could e.g. be achieved by using a 3rd-party YAML parser.
More information and examples can be found in the README file.
Using requests or responses as object representations is of course convenient during programming, but having a look at the simple plain text of it is much easier if you need to debug your code.
These little functions (which are basically more or less just utilising other packages) allow you easy access during debugging sessions. Check out the official documentation for examples and more details!