kriswallsmith/buzz
Lightweight HTTP client
1.4.0
33M downloads/mo
#1375 most downloaded on Packagist
kriswallsmith/Buzz
What this package is like to depend on
Last release 3 months ago
15 May 2026
Release timing varies
gaps range from 2 weeks to 2.5 years
Some releases are documented
notes for 14 of 27 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
30 releases · first in 2011
1 release in the last 12 months
see the full history below
Release timeline
30 releases · Nov 2011 to May 2026Releases
latest 30-
1.4.015 May 2026Release notes
Open source →Support for Symfony 8
What's Changed
- Fix php deprecations (fixes #433). by @uncaught in #434
- Remove safe_mode check in curl client by @sunkan in #435
- Add Symfony 8 support by @Griffon-Weglot in #436
New Contributors
- @uncaught made their first contribution in #434
- @Griffon-Weglot made their first contribution in #436
Full Changelog: 1.3.0...1.4.0
-
1.3.023 Sep 2024 -
1.2.125 Mar 2022 -
1.2.022 Oct 2020 -
1.1.007 Mar 2020Release notes
Open source →Added
- Support for Symfony 5.
Fixed
- NullException when
file_get_content'serror_get_lastdid not return an array.
-
1.0.117 Apr 2019Release notes
Open source →Fixed
- Fixed issue with multiple cookies.
- Fixed
ContentTypeMiddlewaremissing return.
-
1.0.014 Feb 2019Release notes
Open source →Release 1.0.0-Release Candidate 1 Pre-release
Pre-release
Compare
Choose a tag to compare
-
1.0.0-rc102 Feb 2019 pre-releaseRelease notes
Open source →Added
- Support for HTTP/2 server push.
- Option
expose_curl_infohas been added to expose curl metadata information - Added
CallbackExceptionfor Curl clients.
Changed
- Moved
Buzz\UtiltoBuzz\Middleware\Cookie.
-
1.0.0-beta227 Dec 2018 pre-releaseRelease notes
Open source →Changed
MultiCurlwill never throw exception when handling messages asynchronously. All exceptions will be handled in the callback.MultiCurl::sendRequest()will throw exception if one occur.- Make sure
MultiCurl::proceed()is non-blocking.
-
1.0.0-beta101 Nov 2018 pre-releaseRelease notes
Open source →Added
ContentTypeMiddlewarethat automatically detects content type of the body.
Changed
- It is now mandatory to pass a client to the
Browser's constructor. - First argument of
Curl,MultiCurlandFileGetContentclients should be the response factory. - Using stable version of
psr/http-client.
-
0.17.205 Sep 2018Release notes
Open source →Changed
- Added parameter for
ResponseFactorytoAbstractClientconstructor. - Added parameter for
RequestFactorytoBrowserconstructor.
Deprecated
- Not passing a RequestFactory to
Browser. - Not passing a ResponseFactory to the client's constructor.
- Not passing a BuzzClientInterface to the
Browser's constructor.
- Added parameter for
-
v0.17.105 Apr 2018Release notes
Open source →Added
- Updated composer.json to show that we provide
php-http/client-implementation: 1.0.
- Updated composer.json to show that we provide
-
v0.17.025 Mar 2018Release notes
Open source →Added
- The first argument to all client constructors is an array of options.
- A way to configure default options for a client:
AbstractClient::configureOptions(OptionsResolver $resolver) - Added
ParameterBagto store options. - Added
BatchClientInterface::sendAsyncRequest(RequestInterface $request, array $options = []). - Added
BuzzClientInterface::sendRequest(RequestInterface $request, array $options = []): ResponseInterface. - Ported all Listeners to Middleware.
- Added options to configure the client as constructor argument and when you send a request.
Removed (BC breaks)
- Removed
RequestandResponse - Removed
AbstractStream. - Removed all listeners and
ListenerInterface - Removed
Curl::getInfo() - Client functions like
AbstractClient::setIgnoreErrors(),AbstractClient::getIgnoreErrors(),AbstractClient::setMaxRedirects(),AbstractClient::getMaxRedirects(),AbstractClient::setTimeout(),AbstractClient::getTimeout(),AbstractClient::setVerifyPeer(),AbstractClient::getVerifyPeer(),AbstractClient::getVerifyHost(),AbstractClient::setVerifyHost(),AbstractClient::setProxy()andAbstractClient::getProxy().
Changed (BC breaks)
- Redirects are not followed by default
- No exceptions are thrown and no warnings are triggered on a invalid response.
- We only handle PSR requests and responses.
- Renamed
Browser::call($url, $method, $headers, $body)toBrowser::request($method, $url, $headers, $body).
-
v0.16.119 Mar 2018Release notes
Open source →Added
BasicAuthMiddleware,BearerAuthMiddleware,ContentLengthMiddlewareandLoggerMiddleware.Browser::submitForm- Support for middleware chain when using
BatchClientInterface FormRequestBuilderto help build a "form request".- Added HTTP status code constants to
Response.
Changed
- Used Curl read function for large bodies.
Deprecated
- Deprecated
Browser::sendin favor forBrowser::sendRequest - Deprecated
Browser::submitin favor forBrowser::submitForm
Fixed
- Make sure
Browserdoes not call deprecated functions.
-
v0.16.003 Feb 2018Release notes
Open source →Changed
- ClientInterface supports PSR7 requests and responses.
- Removed type hint for second parameter for
AbstractCurl::prepare. - Removed type hint for second parameter for
RequestException::setRequest. - Removed type hint for first parameter for
AbstractStream::getStreamContextArray. RequestExceptionsupports both PSR-7 requests and Buzz requests.Response::getProtocolVersionwill return a string and not a float.- Using PHPUnit namespaces.
Added
- Added Request and Response converters
- Added
Curl::sendRequest(),MultiCurl::sendRequest()andFileGetContents::sendRequest()that supports sending PSR-7 requests. - Added
Browser::sendRequest()that supports middleware. - Added
MiddlewareInterfaceandBrowser::addMiddleware(). - Added
HeaderConverterto convert between PSR-7 styled headers and Buzz styled headers.
Deprecated
Curl::send(),MultiCurl::send()andFileGetContents::send()in favor for*::sendRequest().AbstractCurl::populateResponse()was deprecated in favor ofAbstractCurl::createResponse().
Removed
- Support for PHP 5.3.
-
v0.15.224 Nov 2017Release notes
Open source →Added
- A
.gitattributeswas added to exclude test files and metadata.
Changed
- The reason phrase is allowed to be empty.
- A
-
v0.15.119 Aug 2017Release notes
Open source →Fixed
MultiCurlwill throw exception when request fails. This makesMultiCurlto have the same behavior asCurlandFileGetContents. (Liskov Substitution Principle)
Added
- Added
BearerAuthListener
Changed
- We use PSR-4 instead of PSR-0
-
v0.919 Feb 2013Nothing published for this version
-
v0.814 Jan 2013Nothing published for this version
-
v0.725 Jun 2012Nothing published for this version
-
v0.625 May 2012Nothing published for this version
-
v0.515 Nov 2011Nothing published for this version
-
v0.414 Nov 2011Nothing published for this version
-
v0.311 Nov 2011Nothing published for this version
-
v0.1525 Jun 2015Nothing published for this version
-
v0.1402 Jun 2015Nothing published for this version
-
v0.1315 Sep 2014Nothing published for this version
-
v0.1229 Jul 2014Nothing published for this version
-
v0.1124 Mar 2014Nothing published for this version
-
v0.1019 May 2013Nothing published for this version