Download the PHP package redirectionio/proxy-symfony without Composer
On this page you can find all versions of the php package redirectionio/proxy-symfony. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download redirectionio/proxy-symfony
More information about redirectionio/proxy-symfony
Files in redirectionio/proxy-symfony
Package proxy-symfony
Short Description RedirectionIO Proxy for Symfony
License MIT
Informations about the package proxy-symfony
RedirectionIO Proxy for Symfony
[DEPRECATED]: This library is deprecated and will not be maintained anymore. It does not work with the current version of the redirection.io 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 redirection.io.
If you don't know what is redirection.io, take the time to make a quick tour on the website.
Before using it, you need:
- a redirection.io account. If you don't have an account, please contact us here.
- a configured redirection.io agent on your server. Please follow the installation guide.
Drop us an email to [email protected]
if you need help or have any questions.
Installation
Configuration
Configuration file location
- Symfony framework-standard-edition:
app/config/config.yml
- Symfony Flex:
config/packages/redirectionio.yaml
Configuration Example
Configuration reference
The following command dump the configuration reference:
The following command dump your configuration:
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:
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
.