Can't install guzzlehttp for Laravel

6.1k Views Asked by At

I am using PHP 5.4 and I have Laravel 5.1 for my development. When I try to install guzzlehttp through composer for my Laravel I get error that your PHP 5.4 doesn't specify the requirements. i tried to install it by lowering the version like

composer require "guzzlehttp/guzzle": "5.0"

but still with no luck.

1

There are 1 best solutions below

2
On BEST ANSWER

try,

composer require "guzzlehttp/guzzle:~5.3"