Skip to content

"No PSR-17 request factory found" incorrectly suggests guzzlehttp/psr7 #164

Description

@weaverryan

PHP version: 7.3

Description
Hi!

This seems related to #156 and #149.

I received the error:

No PSR-17 request factory found. Install a package from this list: https://packagist.org/providers/psr/http-factory-implementation

But when I go to https://packagist.org/providers/psr/http-factory-implementation, the first item on the list is guzzlehttp/psr7. When I installed it, I got the same error. After some deep digging, If found out that I actually needed http-interop/http-factory-guzzle. Installing that package does fix things - it's just the recommendation that was wrong (and tough to debug!).

Am I correct that guzzlehttp/psr7 should not be shown on the list of "http factory implementations"? If so, why is it there? Is it a bug in that package's metadata? Something on Packagist? I don't know much about this - I'm just trying to get a bundle that is a few layers above this to work :).

Thanks!

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