roadrunner/http-bundle

Integration roadrunner http with symfony

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 33

Watchers: 0

Forks: 0

Open Issues: 0

Type:symfony-bundle

pkg:composer/roadrunner/http-bundle

This package is not auto-updated.

Last update: 2025-10-01 11:31:18 UTC


README

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 SentryBundle use)
  • Doctrine: clear opened managers and check connection is still usable after each request ( if DoctrineBundle is use)

Requirements:

  • php >= 8.1
  • symfony >= 6.0
  1. Connect recipes

See link recipies repository

  1. Install package
composer req http
  1. Configure docker-compose-roadrunner.yml/Dockerfile/.rr.http.yaml/config/packages/roadrunner.http.yaml

Sentry integrations

Install packages:

composer require sentry

If SentryBundle is use, the following parameters is available to you:

  • useSentryIntegration - Connect integration

Example config:

Specific worker

road_runner_http:
  useSentryIntegration: true

Doctrine integrations

Install packages:

composer require orm temporal-doctrine

If DoctrineBundle is use, the following parameters is available to you:

  • useDoctrineIntegration - Connect integration
  • useLoggingDoctrineOpenTransaction - Connect middleware that report unclosed transaction to monolog
  • useTrackingSentryDoctrineOpenTransaction - Connect middleware that report unclosed transaction to sentry

These parameters accept a list of entity-managers

Example config:

road_runner_http:
  useDoctrineIntegration:
    - default
    - test

  useLoggingDoctrineOpenTransaction:
    - default
    - test

  useTrackingSentryDoctrineOpenTransaction:
    - default