Download the PHP package amorvan/responders-bundle without Composer
On this page you can find all versions of the php package amorvan/responders-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download amorvan/responders-bundle
More information about amorvan/responders-bundle
Files in amorvan/responders-bundle
Download amorvan/responders-bundle
More information about amorvan/responders-bundle
Files in amorvan/responders-bundle
Vendor amorvan
Package responders-bundle
Short Description A bundle provide many responders according ADR architecture
License MIT
Homepage https://github.com/AurelienMo/RespondersBundle
Package responders-bundle
Short Description A bundle provide many responders according ADR architecture
License MIT
Homepage https://github.com/AurelienMo/RespondersBundle
Please rate this library. Is it a good library?
Informations about the package responders-bundle
Responders
Description
A library to use many responders according ADR architecture.
Installation
-
Require library
- For Symfony 3.* without Flex:
Adding bundle to app/AppKernel.php
- For Symfony 3.4 with Flex, Symfony 4.* or Symfony 5:
Bundle is automatically add to config/bundles.php
. Check the bundle is allow for all environment.
Usage
- All responders are autowiring.
- To use one of these responders, inject responder and use the responder's with __invoke` method and pass the correct parameters.
ViewResponder
Description
This responder used to return a response with a view build with twig.
Usage
- Example inside Symfony, consider following method for an action :
RedirectResponder
Description
This responder used to return a redirect response with route parameters
Usage
- Example inside Symfony, consider following method for an action :
JsonResponder
Description
This responder used to return a json response according many parameters
Usage
- Example inside Symfony, consider following method for an action :
FileResponder
Description
This responder used to return a file.
Usage
- Example inside Symfony, consider following method for an action :
Quality
Many tools used for quality.
- PHPCS : PSR 1 & 12.
- PHPStan
- All builds passed by CircleCI.
All versions of responders-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.3|^7.4|^8
symfony/framework-bundle Version ^3.4|^4.4|^5
twig/twig Version ^2.10|^3
symfony/serializer Version ^3.4|^4.4|^5
symfony/framework-bundle Version ^3.4|^4.4|^5
twig/twig Version ^2.10|^3
symfony/serializer Version ^3.4|^4.4|^5
The package amorvan/responders-bundle contains the following files
Loading the files please wait ....