Skip to content

Could the Guzzle/Redis dependencies be always included? #70

@halfer

Description

@halfer

This is either a suggestion for a future release, or a question to understand why dependencies for this library have been arranged in the way they have.

It seems that implementers have the choice of using either Guzzle or Redis to communicate with LD, and that they should install libraries accordingly. I wonder if it would make it easier to bundle all of those libraries, and then supply options to select the one to use? In a code review we found the Guzzle/Middleware libraries in our composer.json and it took us a while to work out why they were there. 😸

The only reason I can think of not to do this is if the implementer wishes to use a slightly different version of Guzzle or Predis, though I imagine that can be solved by having a wide allowance in the LD dependency allowed versions.

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