image icon indicating copy to clipboard operation
image copied to clipboard

Can't install through Composer

Open nateajohnson opened this issue 9 years ago • 4 comments

I am trying to install this into a fresh laravel 5 install and am getting this:

vagrant@homestead:~/Code/grow$ sudo composer require intervention/image Using version ^2.3@dev for intervention/image ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

Problem 1 - Installation request for guzzlehttp/psr7 == 1.0.0.0 -> satisfiable by guzzlehttp/psr7[1.0.0]. - intervention/image 2.3.0 requires guzzlehttp/psr7 ~1.1 -> satisfiable by guzzlehttp/psr7[1.1.0]. - intervention/image 2.3.1 requires guzzlehttp/psr7 ~1.1 -> satisfiable by guzzlehttp/psr7[1.1.0]. - intervention/image 2.3.x-dev requires guzzlehttp/psr7 ~1.1 -> satisfiable by guzzlehttp/psr7[1.1.0]. - Conclusion: don't install guzzlehttp/psr7 1.1.0 - Installation request for intervention/image ^2.3@dev -> satisfiable by intervention/image[2.3.0, 2.3.1, 2.3.x-dev].

nateajohnson avatar Jul 17 '15 16:07 nateajohnson

Hello,

try maybe "intervention/image": "2.3.*" in composer.json?

huglester avatar Jul 20 '15 15:07 huglester

First, you need to instal guzzlehttp/psr7. Second, go to your php.ini file and uncomment this line : ;extension=php_fileinfo.dll To extension=php_fileinfo.dll

GencBlakqori avatar Jul 23 '15 17:07 GencBlakqori

;extension=php_fileinfo.dll To extension=php_fileinfo.dll it's worked thanks

balinux avatar Apr 16 '17 01:04 balinux

ok

hasib202030 avatar Jul 09 '21 20:07 hasib202030