Skip to content

Missing mention of required Guzzle dependency in README #72

Description

@Vito416

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions