For generating your OAuth2 credentials, you may refer to this
guide. Once you have generated the credentials, you may then follow the PHP client library setup guide via this
link. Should you encounter any issues with your client library setup, you may get in contact with the client library owners directly through
here.