What version of Guzzle does Laravel 8 require? #34949
-
The Laravel 8 upgrade guide states Guzzle 7 is required: Composer.json in laravel/framework states Guzzle 6 is acceptable: Line 84 in f6783a5 Thanks for clarifying! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
That's just because the default laravel/laravel app now requires that version of Guzzle, and we want to encourage everyone to migrate to Guzzle 7., Guzzle 6 is no longer receiving bug fixes. NB Those require-dev lines are not the correct place to look to answer the question "what version of X does laravel support". The require and suggest entries are the correct place. |
Beta Was this translation helpful? Give feedback.
-
Maybe you can refer to https://github.com/laravel/laravel/blob/master/composer.json#L14 |
Beta Was this translation helpful? Give feedback.
-
The requirements are as follows:
The upgrading guide simply describes the recommended upgrading path, since Guzzle 6 is now end of life, and will be dropped from Laravel in the future (probably in Laravel 9 or 10). |
Beta Was this translation helpful? Give feedback.
The requirements are as follows:
^6.0
(https://github.com/laravel/framework/blob/v5.8.38/composer.json#L124)^6.3.1|^7.0.1
(https://github.com/laravel/framework/blob/v6.20.2/composer.json#L126)^6.3.1|^7.0.1
(https://github.com/laravel/framework/blob/v7.29.2/composer.json#L132)^6.5.5|^7.0.1
(https://github.com/laravel/framework/blob/v8.12.3/composer.json#L135)The upgrading guide simply describes the recommended upgrading path, since Guzzle 6 is now end of life, and will be dropped from Laravel in the future (probably in Laravel 9 or 10).