composer require google/apiclient:^2.0.txt

Warning: count(): Parameter must be an array or an object that implements Countable in C:\var\www\home\apitest\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php on line 67

【Laravel8】”composer require google/apiclient”実行時にエラーになる場合の対処方法
Google Cloud API(今回はCloud Vision API)をLaravelで使いたいと思って、"composer require google/apiclient"を実行したら以下のエラーになった。※&q...

既にインストールしてある場所だとエラーになった