league/glide
Glide is an on-demand PHP image manipulation library served over HTTP. Resize, crop, and apply effects with simple URL parameters, with automatic caching and far-future headers. Works with GD, Imagick, or libvips and Flysystem storage.
If your application uses the CakePHP framework, you can use the CakeResponseFactory.
composer require league/glide-cake
<?php
use League\Glide\ServerFactory;
use League\Glide\Responses\CakeResponseFactory;
$server = ServerFactory::create([
'response' => new CakeResponseFactory()
]);
How can I help you explore Laravel packages today?