ok
Direktori : /home2/selectio/public_html/a1tex.in/vendor/league/glide/docs/1.0/config/integrations/ |
Current File : /home2/selectio/public_html/a1tex.in/vendor/league/glide/docs/1.0/config/integrations/symfony.md |
--- layout: default title: Symfony (HttpFoundation) integration --- # Symfony integration If your application uses the [Symfony](https://symfony.com/) framework or anything that uses the `HttpFoundation` library, you can use the `SymfonyResponseFactory`. ## Installation ~~~ bash composer require league/glide-symfony ~~~ ## Configuration ~~~ php <?php use League\Glide\ServerFactory; use League\Glide\Responses\SymfonyResponseFactory; $server = ServerFactory::create([ 'response' => new SymfonyResponseFactory() ]); ~~~