2017 © Pedro PelĂĄez
 

symfony-bundle request-headers-forwarder-guzzle-bundle

Symfony Bundle which fetch some HTTP headers from current request and reuse them in Guzzle clients sub-requests.

image

m6web/request-headers-forwarder-guzzle-bundle

Symfony Bundle which fetch some HTTP headers from current request and reuse them in Guzzle clients sub-requests.

  • Thursday, November 30, 2017
  • by M6Web
  • Repository
  • 14 Watchers
  • 0 Stars
  • 24,438 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 7 Versions
  • 2 % Grown

The README.md

RequestHeadersForwarderGuzzleBundle

Build Status, (*1)

Symfony Bundle which fetch some HTTP headers from current request and reuse them in Guzzle clients sub-requests., (*2)

One of the "use case" may be when you call a frontal API which make a sub-request to another API which needs authentication HTTP headers... Using this bundle, you can call the frontal API with authentication headers and let it forward them seamlessly to other APIs., (*3)

Configuration

m6_web_request_headers_forwarder_guzzle:
    clients:
        test.guzzle1:                               # Guzzle client service id
            headers: ['x-auth-sample', 'something'] # Headers that will be forwarded to "test.guzzle1" client requests

services:
    test.guzzle1:
        class: 'GuzzleHttp\Client'

Suggest

The Versions

30/11 2017

dev-master

9999999-dev

Symfony Bundle which fetch some HTTP headers from current request and reuse them in Guzzle clients sub-requests.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Oliver Thébault

30/11 2017

v1.0.2

1.0.2.0

Symfony Bundle which fetch some HTTP headers from current request and reuse them in Guzzle clients sub-requests.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Oliver Thébault

10/01 2017

v1.0.1

1.0.1.0

Symfony Bundle which fetch some HTTP headers from current request and reuse them in Guzzle clients sub-requests.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Oliver Thébault

13/10 2016

dev-feature/forward-queries

dev-feature/forward-queries

Symfony Bundle which fetch some HTTP headers from current request and reuse them in Guzzle clients sub-requests.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Oliver Thébault

14/06 2016

v1.0.0

1.0.0.0

Symfony Bundle which fetch some HTTP headers from current request and reuse them in Guzzle clients sub-requests.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Oliver Thébault

13/06 2016

v0.1.1

0.1.1.0

Symfony Bundle which fetch some HTTP headers from current request and reuse them in Guzzle clients sub-requests.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Oliver Thébault

19/05 2016

v0.1.0

0.1.0.0

Symfony Bundle which fetch some HTTP headers from current request and reuse them in Guzzle clients sub-requests.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Oliver Thébault