-
Notifications
You must be signed in to change notification settings - Fork 17
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
Remove Guzzle #95
Remove Guzzle #95
Conversation
Hi @veelasky, could you elaborate what’s the reasoning behind removing the Guzzle adapter? |
the underlying Because Guzzle has released version 7, it will be cumbersome if the underlying laravel application uses guzzle version 7, since the adapter for version 6 and 7 is different. |
Shouldn't be the solution to add |
I don't think they can both be included. The two Guzzle adapters each require the version of Guzzle they support: guzzle6-adapter guzzle7-adapter That's going to create an immediate dependency conflict. In general, I advocate that library packages should require the fewest dependencies possible, leaving as much choice to the consumer as they can. |
I see. @veelasky could you add a suggestion in Composer to install |
Laravel 7 introduced an HTTP client (https://laravel.com/docs/7.x/http-client) which is based on Guzzle, so the need to for the user of this package to require Guzzle should be limited to Laravel 6.x unless they want a specific version of Guzzle. |
done. 👍 thanks for the great package, can't wait for the major release. |
Guzzle references are still present in |
oops sorry, thought it was being ignored by |
I believe that most library packages do not include the That said, running a I would vote to remove |
The main issue removing |
Remove explicitly defined guzzle http client adapter.
And also bump laravel version to support version 8.