• File: zend.md
  • Full Path: /home/masbinta/public_html/core/vendor/league/glide/docs/1.0/config/integrations/zend.md
  • File size: 560 bytes
  • MIME-type: text/plain
  • Charset: utf-8
---
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(),
]);
~~~