搜索

首页  >  问答  >  正文

Laravel执行composer update的时候推荐安装两个包,不太清楚作用是什么

在windows上执行composer update,用到了intervention/image这个包,执行过程中提示推荐安装两个包:

intervention/image suggests installing ext-imagick (to use Imagick based image p                                                                              rocessing.)
intervention/image suggests installing intervention/imagecache (Caching extensio                                                                              n for the Intervention Image library)

关于这两个包有3个疑问:
1、两个包分别是干什么的?
2、第1个包在github上找不到,那么在哪里下载?
3、第2个包可以在github上找到,但好久没更新了,过时了没有?

附:命令执行时完整信息:

dell@DESKTOP-MVU77SM MINGW64 /d/wnmp/www/laravel-5-3-demo
$ composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing psr/http-message (1.0.1)
    Downloading: 100%

  - Installing guzzlehttp/psr7 (1.3.1)
    Downloading: 100%

  - Installing intervention/image (dev-master 6886d43)
    Downloading: 100%

  - Installing laravelcollective/html (dev-master c4c8791)
    Downloading: 100%

  - Installing adambrett/shell-wrapper (dev-master d1fb1a6)
    Downloading: 100%

  - Removing laravel/framework (5.3.x-dev bd9cd77)
  - Installing laravel/framework (5.3.x-dev 12336ad)
    Downloading: 100%

intervention/image suggests installing ext-imagick (to use Imagick based image p                                                                              rocessing.)
intervention/image suggests installing intervention/imagecache (Caching extensio                                                                              n for the Intervention Image library)
Writing lock file
Generating autoload files
> Illuminate\Foundation\ComposerScripts::postUpdate
> php artisan optimize
Generating optimized class loader
PHP中文网PHP中文网2757 天前425

全部回复(1)我来回复

  • 高洛峰

    高洛峰2017-05-16 16:53:44

    这个包支持GDimagick,至于imagick是什么,请百度。
    intervention/imagecache 是这个包的图像缓存附加支持
    至于你所说的过时,只要laravelcache接口没有改变,便可正常使用

    回复
    0
  • 取消回复