-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No PSR-17 stream factory found, but I have one installed #285
Comments
the exception you get is about a missing stream factory. looking at the strategy code, i see that the candidates are:
i think you need to require one of the above, e.g. i wonder if php-http/curl-client should require |
Yeah, I think that make sense 👍 |
merged the fix |
PHP version: 7.4.11
Description
No PSR-17 stream factory found. Install a package from this list: https://packagist.org/providers/psr/http-factory-implementation
How to reproduce
I've installed on a package composer. My composer.json file are:
(I have installed guzzlehttp/psr7 through dependencies).
On composer.lock, I can find this (I've deleted some lines):
On my code, I'm using:
require_once 'packages/autoload.php';
Can anyone help me with this problem?
The text was updated successfully, but these errors were encountered: