Fork me on GitHub
The League of Extraordinary Packages

Our Packages:

Presented by The League of Extraordinary Packages

Getting Started

Configuration

Image API

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/zend

Configuration

<?php

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

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