2025-03-26 10:01:46 +07:00

532 B

layout, title
layout title
default Symfony (HttpFoundation) integration

Symfony integration

If your application uses the Symfony framework or anything that uses the HttpFoundation library, you can use the SymfonyResponseFactory.

Installation

composer require league/glide-symfony

Configuration

<?php

use League\Glide\ServerFactory;
use League\Glide\Responses\SymfonyResponseFactory;

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