Slim integration
If your application uses Slim framework, you can use the SlimResponseFactory
.
Installation
composer require league/glide-slim
Configuration
<?php
use League\Glide\ServerFactory;
use League\Glide\Responses\SlimResponseFactory;
$server = ServerFactory::create([
'response' => new SlimResponseFactory(),
]);