Apabila melaksanakan kemas kini komposer pada Windows, pakej intervensi/imej digunakan Semasa pelaksanaan, ia digesa untuk memasang dua pakej:
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)
Ada 3 soalan tentang kedua-dua beg ini:
1 Dua beg tersebut digunakan untuk apa?
2 Pakej pertama tidak boleh didapati di github, jadi di manakah saya boleh memuat turunnya?
3 Pakej kedua boleh didapati di github, tetapi sudah lama tidak dikemas kini.
Lampiran: Maklumat lengkap apabila arahan dilaksanakan:
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
Pakej ini menyokong
GD
和imagick
,至于imagick
是什么,请百度。intervention/imagecache
是这个包的图像缓存附加支持至于你所说的过时,只要
laravel
的cache
Antara muka tidak berubah dan boleh digunakan seperti biasa