Add support for passing connection from PHP configuration

I've got back to this problem. Quick implementation of `connection` key instead of connection information.
Documentation is updated too. Please advise if something else needs to be done to merge this change.

Implements #169