PHPackages                             superbrave/verbose-error-http-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. superbrave/verbose-error-http-client

ActiveSymfony-bundle[HTTP &amp; Networking](/categories/http)

superbrave/verbose-error-http-client
====================================

Increased verbosity of error messages in the Symfony HTTP client.

2.1.2(2y ago)03.6k1MITPHPPHP ^8.2

Since Sep 11Pushed 2y ago6 watchersCompare

[ Source](https://github.com/superbrave/verbose-error-http-client)[ Packagist](https://packagist.org/packages/superbrave/verbose-error-http-client)[ RSS](/packages/superbrave-verbose-error-http-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (8)Versions (9)Used By (0)

Verbose error HTTP client bundle
================================

[](#verbose-error-http-client-bundle)

[![Latest version on Packagist](https://camo.githubusercontent.com/38d91b1e40738d2f7e05c6c896cd4cdf5748cb790a4b162574ccc120ad53a546/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f737570657262726176652f766572626f73652d6572726f722d687474702d636c69656e74)](https://packagist.org/packages/superbrave/verbose-error-http-client)[![Software License](https://camo.githubusercontent.com/761faba58505516a474120596df65ac4bafdc118172af32a0227c87c78fa6663/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f737570657262726176652f766572626f73652d6572726f722d687474702d636c69656e74)](LICENSE)

Increased verbosity of error messages in the Symfony HTTP client.

Installation using Composer
---------------------------

[](#installation-using-composer)

Run the following command to add the package to the composer.json of your project:

```
$ composer require superbrave/verbose-error-http-client-bundle symfony/http-client
```

The `symfony/http-client` can be replaced with any other HTTP client implementing the Symfony HTTP client contracts.

Usage
-----

[](#usage)

The following example shows how to create the instances required execute requests with verbose exception messages:

```
