https://github.com/pbwebmedia/buzz-bundle
ABANDONED, use symfony/http-client instead | Buzz HTTP client Symfony bundle
https://github.com/pbwebmedia/buzz-bundle
Last synced: about 1 year ago
JSON representation
ABANDONED, use symfony/http-client instead | Buzz HTTP client Symfony bundle
- Host: GitHub
- URL: https://github.com/pbwebmedia/buzz-bundle
- Owner: PBWebMedia
- License: mit
- Created: 2016-08-25T08:28:18.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2020-06-09T15:31:30.000Z (about 6 years ago)
- Last Synced: 2025-03-14T09:16:23.989Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 120 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PB Web Media Buzz bundle
**This bundle has been abandoned!**
Please use the excellent [symfony/http-client](https://github.com/symfony/http-client) instead
---
Provides a Symfony bundle for the [Buzz HTTP client library](https://github.com/kriswallsmith/Buzz) created by [Kris Wallsmith](http://kriswallsmith.net/).
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.
## Installation
### Install with composer
Install the buzz-bundle using composer:
```
composer require pbweb/buzz-bundle
```
then, add the bundle to your `AppKernel`:
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
// ...
new Pbweb\BuzzBundle\PbwebBuzzBundle(),
## Usage
```php
$browser = $this->container->get('buzz');
$response = $browser->get('http://pbwebmedia.nl');
```
## Configuration
You can optionally configure buzz in your `app/config.yml` file
```yaml
pbweb_buzz:
client_timeout: 60 # Defaults to 5
debug: %kernel.debug% # Enables the data collector in the dev environment
```
## Copyright
### Buzz
Copyright ©2010-2011 Kris Wallsmith
### Buzz bundle
Copyright ©2014-2016 PB Web Media