league/glide
Glide is an on-demand PHP image manipulation library with an HTTP API. Resize, crop, and apply effects, then cache results with far-future headers. Works with GD, Imagick, or libvips, integrates with Flysystem, and can sign URLs for security.
If your application uses the Zend Diactoros package, for example within the Zend Expressive, you can use the ZendResponseFactory.
composer require league/glide-zend
<?php
use League\Glide\ServerFactory;
use League\Glide\Responses\ZendResponseFactory;
$server = ServerFactory::create([
'response' => new ZendResponseFactory(),
]);
How can I help you explore Laravel packages today?