545 B
545 B
layout, title
| layout | title |
|---|---|
| default | Slim integration |
Slim integration
If your application uses Slim framework, you can use the SlimResponseFactory.
This adapter requires Slim 3 or newer, which is based on PSR-7.
Installation
composer require league/glide-slim
Configuration
<?php
use League\Glide\ServerFactory;
use League\Glide\Responses\SlimResponseFactory;
$server = ServerFactory::create([
'response' => new SlimResponseFactory(),
]);