2017 © Pedro Peláez
 

library buzz

Laravel Lightweight HTTP client

image

sirsquall/buzz

Laravel Lightweight HTTP client

  • Wednesday, June 11, 2014
  • by sirsquall
  • Repository
  • 1 Watchers
  • 5 Stars
  • 1,725 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 224 Forks
  • 0 Open issues
  • 12 Versions
  • 1 % Grown

The README.md

Laravel : Buzz is a lightweight PHP 5.3 library for issuing HTTP requests., (*1)

Installing via Composer

Update your project's composer.json file to include Buzz:, (*2)

{
    "require": {
        "sirsquall/buzz": "v0.12"
    }
}

Run the Composer update comand, (*3)

$ composer update

In your config/app.php add 'Buzz\BuzzServiceProvider' to the end of the $providers array, (*4)

'providers' => array(

    'Illuminate\Foundation\Providers\ArtisanServiceProvider',
    'Illuminate\Auth\AuthServiceProvider',
    ...
    'Buzz\BuzzServiceProvider',

),

At the end of config/app.php add 'Buzz' => 'Buzz\Buzz' to the $aliases array, (*5)

'aliases' => array(

    'App'        => 'Illuminate\Support\Facades\App',
    'Artisan'    => 'Illuminate\Support\Facades\Artisan',
    ...
   'Buzz'            => 'Buzz\Buzz',

),

To override the default configuration options you can publish the config file., (*6)

php artisan config:publish sirsquall/buzz

You may now edit these options at app/config/packages/sirsquall/buzz/config.php., (*7)

<?php

$response = Buzz::get('http://www.google.com');
echo $response;
echo $response->getContent;

You can also use the low-level HTTP classes directly., (*8)

<?php

$request = new Buzz\Message\Request('HEAD', '/', 'http://google.com');
$response = new Buzz\Message\Response();

$client = new Buzz\Client\FileGetContents();
$client->send($request, $response);

echo $request;
echo $response;

The Versions

11/06 2014

dev-master

9999999-dev https://github.com/sirsquall/Buzz

Laravel Lightweight HTTP client

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

curl http client

11/06 2014

v0.12

0.12.0.0 https://github.com/kriswallsmith/Buzz

Lightweight HTTP client

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

curl http client

05/06 2014

v0.11

0.11.0.0 https://github.com/kriswallsmith/Buzz

Lightweight HTTP client

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

curl http client

19/05 2013

v0.10

0.10.0.0 https://github.com/kriswallsmith/Buzz

Lightweight HTTP client

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

curl http client

27/02 2013

dev-proxy

dev-proxy https://github.com/kriswallsmith/Buzz

Lightweight HTTP client

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

curl http client

19/02 2013

v0.9

0.9.0.0 https://github.com/kriswallsmith/Buzz

Lightweight HTTP client

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

curl http client

14/01 2013

v0.8

0.8.0.0 https://github.com/kriswallsmith/Buzz

Lightweight HTTP client

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

curl http client

25/06 2012

v0.7

0.7.0.0 https://github.com/kriswallsmith/Buzz

Lightweight HTTP client

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

curl http client

25/05 2012

v0.6

0.6.0.0 https://github.com/kriswallsmith/Buzz

Lightweight HTTP client

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

curl http client

15/11 2011

v0.5

0.5.0.0 https://github.com/kriswallsmith/Buzz

Lightweight HTTP client

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

http client

14/11 2011

v0.4

0.4.0.0 https://github.com/kriswallsmith/Buzz

Lightweight HTTP client

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

http client

11/11 2011

v0.3

0.3.0.0 https://github.com/kriswallsmith/Buzz

Lightweight HTTP client

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

http client