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

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

shahariaazam/http-client-support
================================

A flexible, extendible, customizable PSR-18 compatible HTTP client builder for PHP. You can add it in your library and give user flexibility to use custom PSR-18 compatible HTTP client with it.

v1.0(5y ago)0731MITPHPPHP &gt;=7.0CI failing

Since Jun 1Pushed 5y agoCompare

[ Source](https://github.com/shahariaazam/http-client-support)[ Packagist](https://packagist.org/packages/shahariaazam/http-client-support)[ RSS](/packages/shahariaazam-http-client-support/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (6)Versions (2)Used By (1)

[![Code Checks](https://github.com/shahariaazam/http-client-support/workflows/Code-Checks/badge.svg)](https://github.com/shahariaazam/http-client-support/workflows/Code-Checks/badge.svg)[![Build](https://camo.githubusercontent.com/c590b276fe0a5972d88df3ceee23dd69c7ac5721b9f55cf1c1705ae326bf3edc/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616861726961617a616d2f687474702d636c69656e742d737570706f72742f6261646765732f6275696c642e706e673f623d6d6173746572)](https://camo.githubusercontent.com/c590b276fe0a5972d88df3ceee23dd69c7ac5721b9f55cf1c1705ae326bf3edc/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616861726961617a616d2f687474702d636c69656e742d737570706f72742f6261646765732f6275696c642e706e673f623d6d6173746572)[![Code Coverage](https://camo.githubusercontent.com/886a5d8d67e94ece0640cfca7d85f299a0fe319bfe0a2b8eef083d74a396784a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616861726961617a616d2f687474702d636c69656e742d737570706f72742f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://camo.githubusercontent.com/886a5d8d67e94ece0640cfca7d85f299a0fe319bfe0a2b8eef083d74a396784a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616861726961617a616d2f687474702d636c69656e742d737570706f72742f6261646765732f636f7665726167652e706e673f623d6d6173746572)[![Code Rating](https://camo.githubusercontent.com/1f8cd7111ea05f2ac82cf38d7a16e1c66454af1f8691564a4305d32076a54144/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616861726961617a616d2f687474702d636c69656e742d737570706f72742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://camo.githubusercontent.com/1f8cd7111ea05f2ac82cf38d7a16e1c66454af1f8691564a4305d32076a54144/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616861726961617a616d2f687474702d636c69656e742d737570706f72742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)[![Code Intellegence](https://camo.githubusercontent.com/53733f0b427f9ea02f03c04e88134511577cb14deb2ffa2efd56bfdbf1100318/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616861726961617a616d2f687474702d636c69656e742d737570706f72742f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://camo.githubusercontent.com/53733f0b427f9ea02f03c04e88134511577cb14deb2ffa2efd56bfdbf1100318/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616861726961617a616d2f687474702d636c69656e742d737570706f72742f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)

HTTP Client Builder
===================

[](#http-client-builder)

A flexible, extendible, customizable PSR-18 compatible HTTP client builder for PHP. You can add it in your library and give user flexibility to use custom PSR-18 compatible HTTP client with it.

### Usage

[](#usage)

Just add this library to your `composer.json` file.

```
composer require shahariaazam/http-client-support

```

Now if you need any HTTP request in your existing class, just extend your class with `ShahariaAzam\HTTPClientSupport\HTTPSupport`.

See following example.

```
