Download the PHP package roadrunner/http-bundle without Composer
On this page you can find all versions of the php package roadrunner/http-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download roadrunner/http-bundle
More information about roadrunner/http-bundle
Files in roadrunner/http-bundle
Package http-bundle
Short Description Integration roadrunner http with symfony
License MIT
Informations about the package http-bundle
RoadRunner Http-Bundle
RoadRunner is a high-performance PHP application server and process manager, designed with extensibility in mind through its utilization of plugins.
Features
- Middleware
- Supported streaming response
- Sentry: Push/pop scope (if the
SentryBundleuse) - Doctrine: clear opened managers and check connection is still usable after each request (
if
DoctrineBundleis use)
Requirements:
- php >= 8.1
- symfony >= 6.0
- Connect recipes
-
Install package
- Configure:
- docker-compose-roadrunner.yml
- Dockerfile
- .rr.http.yaml
- config/packages/roadrunner.http.yaml
Sentry integrations
Install packages:
If SentryBundle is use, the following parameters is available to you:
useSentryIntegration- Connect integration
Example config:
Specific worker
Doctrine integrations
Install packages:
If DoctrineBundle is use, the following parameters is available to you:
useDoctrineIntegration- Connect integrationuseLoggingDoctrineOpenTransaction- Connect middleware that report unclosed transaction to monologuseTrackingSentryDoctrineOpenTransaction- Connect middleware that report unclosed transaction to sentry
These parameters accept a list of entity-managers
Example config:
Streamed Response
The bundle supports the standard Symfony responses:
It also provides its own optimized implementations:
We recommend using the Roadrunner\Integration\Symfony implementations whenever possible, as they eliminate unnecessary I/O overhead and offer better performance in the RoadRunner environment. At the same time, full backward compatibility with the standard Symfony responses is preserved, ensuring that third-party libraries built for Symfony\Component\HttpFoundation continue to work seamlessly.
Examples of use:
All versions of http-bundle with dependencies
symfony/dependency-injection Version ^6.0|^7.0|^8.0
symfony/http-kernel Version ^6.0|^7.0|^8.0
symfony/runtime Version ^6.0|^7.0|^8.0
spiral/roadrunner-http Version ^v4.1