When Laravel performs composer update, it is recommended to install two packages. I am not sure what the function is.
PHP中文网
PHP中文网 2017-05-16 16:51:44
0
1
439

When executing composer update on Windows, the intervention/image package is used. During the execution, it is prompted to install two packages:

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)

There are three questions about these two packages:
1. What are the two packages used for?
2. The first package cannot be found on github, so where can I download it?
3. The second package can be found on github, but it has not been updated for a long time. Is it out of date?

Attachment: Complete information when the command is executed:

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中文网

认证高级PHP讲师

reply all(1)
小葫芦

This package supports GDimagick,至于imagick是什么,请百度。
intervention/imagecache 是这个包的图像缓存附加支持
至于你所说的过时,只要laravelcacheThe interface has not changed and can be used normally

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template