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

Allow any psr-18 http client (instead of requiring guzzle) #1019

Open
tacman opened this issue Nov 30, 2023 · 1 comment · May be fixed by #1032
Open

Allow any psr-18 http client (instead of requiring guzzle) #1019

tacman opened this issue Nov 30, 2023 · 1 comment · May be fixed by #1032

Comments

@tacman
Copy link

tacman commented Nov 30, 2023

composer why guzzlehttp/guzzle
league/oauth2-client 2.7.0 requires guzzlehttp/guzzle (^6.0 || ^7.0) 

I prefer to use the Symfony HttpClient, but this package requires guzzle. Any chance it could be more generic, that is, require any PSR-18 client to operate, then the user can install guzzle or whatever they want.

Thanks for your consideration. Not urgent, but it'd be nice to have one less dependency.

@cyraid
Copy link

cyraid commented Feb 19, 2024

This has been getting me too, as I have to use full out guzzle now since Payum checks if classes exist, and Guzzle is high up there, so it'll of course use that.

(Which also forces me to use php-http/message-factory which is deprecated/abandoned)

@flavioheleno flavioheleno linked a pull request Jul 12, 2024 that will close this issue
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 a pull request may close this issue.

2 participants