This package is abandoned and no longer maintained. No replacement package was suggested.

RedirectionIO Proxy for Symfony

Installs: 123 011

Dependents: 0

Suggesters: 0

Security: 0

Stars: 8

Watchers: 5

Forks: 2

Open Issues: 0


v0.3.1 2020-11-16 13:51 UTC

This package is auto-updated.

Last update: 2021-04-27 08:28:09 UTC


[DEPRECATED]: This library is deprecated and will not be maintained anymore. It does not work with the current version of the agent, but only with the legacy 1.x branch. We advise you to migrate and use one of the recommended integrations.

Symfony Proxy works in combination with

If you don't know what is, take the time to make a quick tour on the website.

Before using it, you need:

  • a account. If you don't have an account, please contact us here.
  • a configured agent on your server. Please follow the installation guide.

Drop us an email to if you need help or have any questions.


composer require redirectionio/proxy-symfony


Configuration file location

  • Symfony framework-standard-edition: app/config/config.yml
  • Symfony Flex: config/packages/redirectionio.yaml

Configuration Example

# Configuration
    project_key: 'foo:bar'
        agent_tcp: 'tcp://'
        agent_unix: 'unix:///var/run/redirectionio_agent.sock'

Configuration reference

The following command dump the configuration reference:

bin/console config:dump-reference redirection_io

The following command dump your configuration:

bin/console  debug:config redirection_io

Do not process some requests

You might want to exclude some requests, because you know they will never have some redirections on it, or you don't want log them. It's the case for debug routes for example: /_wdt, /_profiler, and /_error. That's why we ignore theses request by default thanks to their URL prefixes.

Ignore requests by URL prefix

You can add more prefixes to the configuration:

        - /admin
        - /api
        # ...

Ignore requests by Host

        # -
        # ...

Ignore other requests

If you need to do custom code to ignore some requests, you have to implement RedirectionIO\Client\ProxySymfony\CircuitBreaker\CircuitBreakerInterface.

If you are not using the default configuration of Symfony (autowire=true and autoconfigure=true), you will have to register the service and tag it with redirectionio.circuit_breaker.