Download the PHP package pond5/async-request-bundle without Composer
On this page you can find all versions of the php package pond5/async-request-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pond5/async-request-bundle
More information about pond5/async-request-bundle
Files in pond5/async-request-bundle
Package async-request-bundle
Short Description This bundle allows sending requests to a Symfony Messenger transport to be handled later by a consumer
License MIT
Informations about the package async-request-bundle
AsyncRequestBundle
This bundle allows sending requests to a Symfony Messenger transport to be handled later by a consumer.
Installation
Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.
Applications that use Symfony Flex
Open a command console, enter your project directory and execute:
Applications that don't use Symfony Flex
-
Add config file
- Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
- Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the config/bundles.php
file of your project:
Usage
- Add
X-Request-Async
header aDELETE, PATCH, POST, PUT
request, e.g.
Symfony should respond with 202
status code and empty body:
- Handle the request/consume the message
Test
-
Install dev dependencies.
- Run unit tests.
All versions of async-request-bundle with dependencies
psr/log Version ^1.1|^2.0|^3.0
symfony/config Version ^5.2|^6.0
symfony/dependency-injection Version ^5.2|^6.0
symfony/event-dispatcher Version ^5.2|^6.0
symfony/http-foundation Version ^5.2|^6.0
symfony/http-kernel Version ^5.2|^6.0
symfony/messenger Version ^5.2|^6.0