avariya/request-id-bundle

Adding request id to project flow

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Type:symfony-bundle

v1.0.1 2017-12-01 15:44 UTC

This package is not auto-updated.

Last update: 2020-09-19 07:36:32 UTC


README

Build Status Latest Stable Version Total Downloads composer.lock Code Coverage

Installation

Change composer.json

Require bundle:

composer require avariya/request-id-bundle

Add bundle to AppKernel:

new \Avariya\RequestIdBundle\AvariyaRequestIdBundle(),

Add configuration (optional)

Default values:

avariya_request_id:
    monolog_support: true
    kernel_subscriber: true
    header: X-Request-Id
    guzzle_middleware:
        guzzle_tag: csa_guzzle.middleware

or:

avariya_request_id:
    monolog_support: false
    kernel_subscriber: false
    guzzle_middleware: false