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

ActiveLibrary

ariyx/http-client
=================

A modern, feature-rich PHP HTTP client with advanced capabilities including authentication, middleware, retry mechanisms, and comprehensive testing.

11PHPCI failing

Since Sep 12Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/ariyx/HttpClient)[ Packagist](https://packagist.org/packages/ariyx/http-client)[ RSS](/packages/ariyx-http-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Ariyx HTTP Client
=================

[](#ariyx-http-client)

[![PHP Version](https://camo.githubusercontent.com/e69fc10ad0d3845d44d08b0eeedd6dd7a5bfa4ab872e68e26b131554122d35d5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545382e332d626c75652e737667)](https://packagist.org/packages/ariyx/http-client)[![License](https://camo.githubusercontent.com/8bb50fd2278f18fc326bf71f6e88ca8f884f72f179d3e555e20ed30157190d0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e2e737667)](LICENSE)[![Build Status](https://camo.githubusercontent.com/c27a457659b89ee4f1f80f7995c559dd37f2051bde7167ad25791e5c5c92cc8e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6275696c642d70617373696e672d627269676874677265656e2e737667)](https://github.com/ariyx/http-client)[![Coverage](https://camo.githubusercontent.com/06e33fb4024f7f9c576cc80d22e78dbb33bd31fd8dbf978c6effb2adbf0f5087/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f7665726167652d39352532352d627269676874677265656e2e737667)](https://github.com/ariyx/http-client)

A modern, feature-rich PHP HTTP client with advanced capabilities including authentication, middleware, retry mechanisms, caching, and comprehensive testing.

✨ Features
----------

[](#-features)

- **🚀 Modern PHP 8.3+ Support** - Built with the latest PHP features and strict typing
- **🔐 Multiple Authentication Methods** - Basic Auth, Bearer Token, API Key support
- **🔄 Middleware System** - Retry, Rate Limiting, Logging, Caching middleware
- **⚡ Async Requests** - Send multiple requests concurrently
- **💾 Response Caching** - Built-in caching with TTL support
- **🛡️ Error Handling** - Comprehensive exception handling with detailed error information
- **📊 Logging** - PSR-3 compatible logging with customizable levels
- **⚙️ Configuration Management** - Flexible configuration system with file support
- **🧪 Comprehensive Testing** - Full test coverage with unit and integration tests
- **📚 Extensive Documentation** - Detailed documentation with examples

📦 Installation
--------------

[](#-installation)

Install via Composer:

```
composer require ariyx/http-client
```

🚀 Quick Start
-------------

[](#-quick-start)

### Basic Usage

[](#basic-usage)

```
