2017 © Pedro Peláez
 

symfony-bundle buzz-bundle

PB Web Media Buzz bundle for Symfony

image

pbweb/buzz-bundle

PB Web Media Buzz bundle for Symfony

  • Wednesday, July 18, 2018
  • by DemonTPx
  • Repository
  • 2 Watchers
  • 1 Stars
  • 659 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 11 Versions
  • 0 % Grown

The README.md

PB Web Media Buzz bundle

This bundle has been abandoned!, (*1)

Please use the excellent symfony/http-client instead, (*2)


Provides a Symfony bundle for the Buzz HTTP client library created by Kris Wallsmith., (*3)

This bundle also adds an entry to the Symfony debug toolbar which shows the number of requests and the total request time. In the profile you can see more details about these requests like headers and response data., (*4)

Installation

Install with composer

Install the buzz-bundle using composer:, (*5)

composer require pbweb/buzz-bundle

then, add the bundle to your AppKernel:, (*6)

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Pbweb\BuzzBundle\PbwebBuzzBundle(),

Usage

$browser = $this->container->get('buzz');
$response = $browser->get('http://pbwebmedia.nl');

Configuration

You can optionally configure buzz in your app/config.yml file, (*7)

pbweb_buzz:
    client_timeout: 60    # Defaults to 5
    debug: %kernel.debug% # Enables the data collector in the dev environment

Buzz

Copyright ©2010-2011 Kris Wallsmith, (*8)

Buzz bundle

Copyright ©2014-2016 PB Web Media, (*9)

The Versions