ok

Mini Shell

Direktori : /home2/selectio/www/myclassicfit.com-1/vendor/league/glide/docs/1.0/config/integrations/
Upload File :
Current File : //home2/selectio/www/myclassicfit.com-1/vendor/league/glide/docs/1.0/config/integrations/zend.md

---
layout: default
title: Zend integration
---

# Zend integration

If your application uses the [Zend Diactoros](https://github.com/zendframework/zend-diactoros) package, for example within the [Zend Expressive](http://framework.zend.com/expressive), you can use the `ZendResponseFactory`.

## Installation

~~~ bash
composer require league/glide-zend
~~~

## Configuration

~~~ php
<?php

use League\Glide\ServerFactory;
use League\Glide\Responses\ZendResponseFactory;

$server = ServerFactory::create([
    'response' => new ZendResponseFactory(),
]);
~~~

Zerion Mini Shell 1.0