2017 © Pedro Peláez
 

library guzzle-bundle-header-disable-cache-plugin

Guzzle plugin that allow you to disable the cache plugin using a dedicated header.

image

neirda24/guzzle-bundle-header-disable-cache-plugin

Guzzle plugin that allow you to disable the cache plugin using a dedicated header.

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

The README.md

Guzzle Bundle Disable Gregurco Cache Plugin

This plugin integrates a way to disable the cache plugin using a header., (*1)

Requirements

Installation

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

composer.json

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


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

Usage

Enable bundle

``` php, (*4)

app/AppKernel.php

new EightPoints\Bundle\GuzzleBundle\EightPointsGuzzleBundle([ new Neirda24\Bundle\GuzzleBundleHeaderDisableCachePlugin\GuzzleBundleHeaderDisableCachePlugin(), ]), (*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_disable_cache: enabled: true header: 'X-Guzzle-Skip-Cache' # Optional

The Versions

16/01 2018
16/01 2018

dev-feature/init

dev-feature/init https://github.com/Neirda24/GuzzleBundleHeaderDisableCachePlugin

Guzzle plugin that allow you to disable the cache plugin using a dedicated header.

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin middleware curl framework cache rest http client guzzle web service http client disable header