Skip to content
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

we need a psr http factory implementation #75

Merged
merged 1 commit into from Apr 28, 2023

Conversation

dbu
Copy link
Contributor

@dbu dbu commented Apr 3, 2021

This client assumes the existence of a HTTP factory. It either needs to be injected in the constructor or php-http autodiscovery is used to find one.

composer.json Outdated
@@ -22,6 +22,7 @@
"php-http/message": "^1.2",
"psr/http-client": "^1.0",
"psr/http-factory": "^1.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we drop this? we need the psr/http-client because we implement the interfaces and provide the http-client-implementation.

however, it seems safe to assume that every http-factory-implementation depends on the http-factory interfaces package... not sure what is better.

composer.json Show resolved Hide resolved
@dbu dbu force-pushed the require-factory-implementation branch from 261fb07 to aa7d3c1 Compare April 28, 2023 13:24
@dbu dbu merged commit 8e63e0f into master Apr 28, 2023
7 of 8 checks passed
@dbu dbu deleted the require-factory-implementation branch April 28, 2023 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant