560 B
560 B
layout, title
| layout | title |
|---|---|
| default | Zend integration |
Zend integration
If your application uses the Zend Diactoros package, for example within the Zend Expressive, you can use the ZendResponseFactory.
Installation
composer require league/glide-zend
Configuration
<?php
use League\Glide\ServerFactory;
use League\Glide\Responses\ZendResponseFactory;
$server = ServerFactory::create([
'response' => new ZendResponseFactory(),
]);