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