I am installing guzzle on my laravel application. But before, guzzle requires whatsapp/chat-api. When i install whatsapp/chat-api by composer require whatsapp/chat-api
, it throws the error
whatsapp/chat-api v3.2.0.1 requires ext-mcrypt * -> the requested PHP extension mcrypt is missing from your system.
However, i have extension=mcrypt.so
in my php.ini for my php. My PHP version is 7.2.1
Why am i still getting the error above even after including extension=mcrypt.so
in my php.ini ?
php -i | grep mcrypt
. If the output is empty, it is not. – Tobias F.whatsapp/chat-api
? Thats news to me. You perhaps meant to say: "I tried to install whatsapp/chat-api, which requires guzzle, which in turn requires ext-mcrypt". – Tobias F.composer require guzzlehttp/guzzle:6.3
triggers the installation ofguzzlehttp/promises
,ralouphie/getallheaders
,psr/http-message
,guzzlehttp/psr7
andguzzlehttp/guzzle
and suggests (but does not install by itself)psr/log
. Thewhatsapp/chat-api
package must come from elsewhere. Are you sure it isn't already insidecomposer.json
as direct dependency set by another team member? – Álvaro González