the SDK’s class GoPay\Http\JsonBrowser directly uses \GuzzleHttp\Psr7\Request and \GuzzleHttp\Stream\Stream.
That means the SDK cannot work without guzzlehttp/guzzle (and guzzlehttp/psr7), but the README only states PHP and extensions as requirements.
In composer.json you correctly require "guzzlehttp/guzzle": "^7.7.0", so Composer installs it automatically.
However, for anyone integrating the SDK without Composer (manual autoloading), it’s not obvious that Guzzle is a hard dependency.
Suggestion:
Explicitly mention in the README under Requirements that SDK depends on guzzlehttp/guzzle (and thus also on guzzlehttp/psr7).
Ideally document minimum tested Guzzle version (7.7+).
This will prevent confusion for people trying to set up the SDK without Composer.
the SDK’s class GoPay\Http\JsonBrowser directly uses \GuzzleHttp\Psr7\Request and \GuzzleHttp\Stream\Stream.
That means the SDK cannot work without guzzlehttp/guzzle (and guzzlehttp/psr7), but the README only states PHP and extensions as requirements.
In composer.json you correctly require "guzzlehttp/guzzle": "^7.7.0", so Composer installs it automatically.
However, for anyone integrating the SDK without Composer (manual autoloading), it’s not obvious that Guzzle is a hard dependency.
Suggestion:
Explicitly mention in the README under Requirements that SDK depends on guzzlehttp/guzzle (and thus also on guzzlehttp/psr7).
Ideally document minimum tested Guzzle version (7.7+).
This will prevent confusion for people trying to set up the SDK without Composer.