fillup / walmart-partner-api-sdk-php

PHP client for Walmart Partner APIs
MIT License
37 stars 51 forks source link

guzzlehttp/guzzle Version too low #83

Open shuzhongrong opened 2 years ago

shuzhongrong commented 2 years ago

How to make guzzlehttp / guzzle compatible with 6.5.5?

yanggg1133 commented 1 year ago

you call install guzzlehttp5.3 and guzzlehttp6.7 ,

like this vendor/guzzlehttp53 vendor/guzzlehttp

第二步 2. fillup/walmart-partner-api-sdk-php

replace

use GuzzleHttp\ - > use GuzzleHttp53\

GuzzleHttp\ -> GuzzleHttp53\

第三部 2.

composer\autoload_psr4

add GuzzleHttp53

autoload_psr4

'GuzzleHttp53\\Subscriber\\Retry\\' => array($vendorDir . '/guzzlehttp53/retry-subscriber/src'),
'GuzzleHttp53\\Stream\\' => array($vendorDir . '/guzzlehttp53/streams/src'),
'GuzzleHttp53\\Ring\\' => array($vendorDir . '/guzzlehttp53/ringphp/src'),
'GuzzleHttp53\\Command\\Guzzle\\' => array($vendorDir . '/fillup/guzzle-services/src'),
'GuzzleHttp53\\Command\\' => array($vendorDir . '/guzzlehttp53/command/src'),
'GuzzleHttp53\\' => array($vendorDir . '/guzzlehttp53/guzzle/src'),

autoload_static

.......................