2017 © Pedro Peláez
 

library guzzle-bundle-header-forward-plugin

Guzzle plugin that allow you to forward headers from your current request into the the guzzle one automatically.

image

neirda24/guzzle-bundle-header-forward-plugin

Guzzle plugin that allow you to forward headers from your current request into the the guzzle one automatically.

  • Tuesday, January 16, 2018
  • by Neirda24
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1,066 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 3 Open issues
  • 3 Versions
  • 13 % Grown

The README.md

Guzzle Bundle Header Forwarding Plugin

This plugin integrates a way to forward headers from the current symfony request into the cURL., (*1)

Requirements

Installation

Using [composer][2]:, (*2)

composer.json

``` json { "require": { "neirda24/guzzle-bundle-header-forward-plugin": "^1.0" } }, (*3)


##### command line ``` bash $ composer require neirda24/guzzle-bundle-header-forward-plugin

Usage

Enable bundle

``` php, (*4)

app/AppKernel.php

new EightPoints\Bundle\GuzzleBundle\EightPointsGuzzleBundle([ new Neirda24\Bundle\GuzzleBundleHeaderForwardPlugin\GuzzleBundleHeaderForwardPlugin(), ]), (*5)


### Basic configuration ``` yaml # app/config/config.yml eight_points_guzzle: clients: api_payment: base_url: "http://api.domain.tld" # define headers, options # plugin settings plugin: header_forward: enabled: true headers: - 'Accept-Language'

The Versions

16/01 2018

dev-master

9999999-dev https://github.com/Neirda24/GuzzleBundleHeaderForwardPlugin

Guzzle plugin that allow you to forward headers from your current request into the the guzzle one automatically.

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin middleware curl framework rest http client guzzle web service http client header forward

16/01 2018

1.0.1

1.0.1.0 https://github.com/Neirda24/GuzzleBundleHeaderForwardPlugin

Guzzle plugin that allow you to forward headers from your current request into the the guzzle one automatically.

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin middleware curl framework rest http client guzzle web service http client header forward

17/11 2017

1.0.0

1.0.0.0 https://github.com/Neirda24/GuzzleBundleHeaderForwardPlugin

Guzzle plugin that allow you to forward headers from your current request into the the guzzle one automatically.

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin middleware curl framework rest http client guzzle web service http client header forward