Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/superbrave/verbose-error-http-client
Increased verbosity of error messages in the Symfony HTTP client.
https://github.com/superbrave/verbose-error-http-client
http-client php php7 symfony
Last synced: 5 days ago
JSON representation
Increased verbosity of error messages in the Symfony HTTP client.
- Host: GitHub
- URL: https://github.com/superbrave/verbose-error-http-client
- Owner: superbrave
- License: mit
- Created: 2019-09-05T09:13:46.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-26T12:28:04.000Z (7 months ago)
- Last Synced: 2024-05-01T14:07:32.548Z (7 months ago)
- Topics: http-client, php, php7, symfony
- Language: PHP
- Homepage:
- Size: 55.7 KB
- Stars: 0
- Watchers: 5
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Verbose error HTTP client bundle
[![Latest version on Packagist][ico-version]][link-version]
[![Software License][ico-license]][link-license]Increased verbosity of error messages in the Symfony HTTP client.
## Installation using Composer
Run the following command to add the package to the composer.json of your project:``` bash
$ 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
The following example shows how to create the instances required execute requests with verbose exception messages:```php
request('GET', 'https://superbrave.nl/api');
```## License
The Verbose error HTTP client is licensed under the MIT License. Please see the [LICENSE file][link-license] for details.[ico-version]: https://img.shields.io/packagist/v/superbrave/verbose-error-http-client
[ico-license]: https://img.shields.io/packagist/l/superbrave/verbose-error-http-client[link-version]: https://packagist.org/packages/superbrave/verbose-error-http-client
[link-license]: LICENSE