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

Replace GuzzleHttp with PSR-18 HTTP Clients #1032

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

flavioheleno
Copy link

This pull request replaces the Guzzle HTTP Client with PSR 17 and 18 interfaces. Closes #1019.

Changes to Dependencies:

  • The dependencies psr/http-client, psr/http-factory, and psr/http-message were added to the require section.
  • The guzzlehttp/guzzle package was moved to the require-dev section.

Changes to the AbstractProvider Class:

  • Guzzle's HttpClientInterface was replaced with ClientInterface from the PSR-18 standard.
  • Guzzle's RequestFactory was replaced with RequestFactoryInterface and StreamFactoryInterface from the PSR-17 standard.

Removal of the RequestFactory Class:

  • The entire RequestFactory class was removed as it's no longer needed with the introduction of the PSR-17 standard interfaces.

@verfriemelt-dot-org
Copy link

what needs to happen to move forward with this? :)

@verfriemelt-dot-org
Copy link

i tested this with my application and can confirm that everything is working as expected so far for me 👍

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.

Allow any psr-18 http client (instead of requiring guzzle)
2 participants