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

ActiveLibrary

reaway/http-client
==================

HTTP Client implementation using PHP cURL with PSR-7, PSR-17, PSR-18 support

v1.0.0(5d ago)00MITPHPPHP &gt;=8.0

Since Mar 18Pushed 5d agoCompare

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

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

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

[](#http-client)

[![PHP Version](https://camo.githubusercontent.com/854124dd57cfd3aad3184fca9760bf1f33a5ec1e5d080cfbe8aa4e3337ba46e6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344382e302d3838393242462e737667)](https://php.net/)[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE)

A lightweight HTTP client library based on PHP cURL, supporting PSR-7, PSR-17, and PSR-18 standards.

Features
--------

[](#features)

- ✅ PSR-7 (HTTP Messages) compatible
- ✅ PSR-17 (HTTP Factories) compatible
- ✅ PSR-18 (HTTP Client) compatible
- ✅ Simple and easy-to-use API
- ✅ Support for GET, POST, JSON, and file upload requests
- ✅ Custom request headers
- ✅ Query parameter support
- ✅ Stream-based file upload (suitable for large files)

Installation
------------

[](#installation)

```
composer require reaway/http-client
```

Requirements
------------

[](#requirements)

- PHP &gt;= 8.0
- ext-curl

Quick Start
-----------

[](#quick-start)

```
