PHPackages                             weblabel/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. weblabel/http-client

ActiveLibrary[HTTP &amp; Networking](/categories/http)

weblabel/http-client
====================

HTTP client wrapper

v1.1.1(4y ago)01.6k1MITPHPPHP &gt;=7.4CI failing

Since Feb 22Pushed 4y agoCompare

[ Source](https://github.com/weblabel-tech/http-client)[ Packagist](https://packagist.org/packages/weblabel/http-client)[ RSS](/packages/weblabel-http-client/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (7)Versions (6)Used By (1)

HTTP Client
===========

[](#http-client)

[![Github CI](https://github.com/weblabel-tech/http-client/actions/workflows/testsuite.yml/badge.svg)](https://github.com/weblabel-tech/http-client/actions/workflows/testsuite.yml)

Installation
============

[](#installation)

Make sure Composer is installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Open a command console, enter your project directory and execute:

```
$ composer require weblabel/http-client
```

This package uses PSR-7, PSR-17 and PSR-18 interfaces, but does not provide their implementations, so you have to install libraries that implements those.

Recommended libraries:

- [Nyholm PSR-7](https://github.com/Nyholm/psr7/)
- [Symfony HttpClient](https://github.com/symfony/http-client)

```
$ composer require nyholm/psr7
```

```
$ composer require symfony/http-client
```

Basic Usage
===========

[](#basic-usage)

```
