Fork me on GitHub
The League of Extraordinary Packages

Our Packages:

Presented by The League of Extraordinary Packages

Getting Started

Configuration

Image API

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(),
]);