php - Laravel homestead laravel-elfinder install error -
i'm using homestead @ localhost. have followed instructions install did: composer require barryvdh/laravel-elfinder
, run composer update
, throws me error:
your requirements not resolved installable set of packages. problem 1 - intervention/image 2.1.3 requires ext-fileinfo * -> requested php extension fileinfo mi ssing system. - intervention/image 2.1.2 requires ext-fileinfo * -> requested php extension fileinfo missing system. .. - intervention/image 2.0.11 requires ext-fileinfo * -> requested php extension fileinfo missing system. - intervention/image 2.0.10 requires ext-fileinfo * -> requested php extension fileinfo missing system. - intervention/image 2.0.1 requires ext-fileinfo * -> requested php extension fileinfo missing system. - intervention/image 2.0.0-beta.2 requires ext-fileinfo * -> requested php extension fileinf o missing system. - intervention/image 2.0.0-beta requires ext-fileinfo * -> requested php extension fileinfo missing system. - intervention/image 2.0.0 requires ext-fileinfo * -> requested php extension fileinfo mi ssing system. - barryvdh/laravel-elfinder v0.3.2 requires barryvdh/elfinder-flysystem-driver 0.1.x@dev -> sati sfiable barryvdh/elfinder-flysystem-driver[0.1.0, 0.1.x-dev]. - barryvdh/elfinder-flysystem-driver 0.1.0 requires intervention/image ~2.0 -> satisfiable in tervention/image[2.0.0, 2.0.0-beta, 2.0.0-beta.2, 2.0.1, 2.0.10, 2.0.11, 2.0.12, 2.0.13, 2.0.14, 2.0 .15, 2.0.16, 2.0.17, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.0.9, 2.1.0, 2.1.1, 2.1.2, 2. 1.3]. - barryvdh/elfinder-flysystem-driver 0.1.x-dev requires intervention/image ~2.0 -> satisfiable b y intervention/image[2.0.0, 2.0.0-beta, 2.0.0-beta.2, 2.0.1, 2.0.10, 2.0.11, 2.0.12, 2.0.13, 2.0.14, 2.0.15, 2.0.16, 2.0.17, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.0.9, 2.1.0, 2.1.1, 2.1.2 , 2.1.3]. - installation request barryvdh/laravel-elfinder 0.3.2 -> satisfiable barryvdh/laravel-el finder[v0.3.2].
what should do? haven't found solution on google.
go in project @ command line , run :
$ composer require intervention/image
go config/app.php :
in $providers array add service providers package.
intervention\image\imageserviceprovider::class
add facade of package $aliases array.
'image' => intervention\image\facades\image::class
windows users: edit php.ini , uncomment line:
extension=php_fileinfo.dll
remember restart apache new php.ini take effect.
homestead halt homestead --provision
Comments
Post a Comment