Download the PHP package oskarstark/symfony-http-responder without Composer
On this page you can find all versions of the php package oskarstark/symfony-http-responder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package symfony-http-responder
symfony-http-responder
This library provides a Symfony responder class, which can be used to render a template, return json or a file and redirect to route/url.
This library is designed to be used in controllers which does not extend from AbstractController.
Installation
Usage
Render a Template
Return JSON
Return a File
Redirect to Url
Redirect to Route
PSR-7 and PSR-15 support
Symfony can respond using PSR-7 Response Interface instances when we are using the symfony/psr-http-message-bridge package, as described in this blog post.
Render a Template
Return JSON
Return a File
Redirect to Url
Redirect to Route
All versions of symfony-http-responder with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2
symfony/http-foundation Version ^5.4 || ^6.3 || ^7.0
symfony/routing Version ^5.4 || ^6.3 || ^7.0
symfony/serializer Version ^5.4 || ^6.3 || ^7.0
twig/twig Version ^2.13 || ^3.0
symfony/http-foundation Version ^5.4 || ^6.3 || ^7.0
symfony/routing Version ^5.4 || ^6.3 || ^7.0
symfony/serializer Version ^5.4 || ^6.3 || ^7.0
twig/twig Version ^2.13 || ^3.0
The package oskarstark/symfony-http-responder contains the following files
Loading the files please wait ....