PHPackages                             weezqyd/http-adapters - 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. weezqyd/http-adapters

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

weezqyd/http-adapters
=====================

Unified API for abstracting Various Http clients

v0.0.1(8y ago)01.2k1mitPHP

Since Jul 10Pushed 8y ago1 watchersCompare

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

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

Http Adapters
=============

[](#http-adapters)

[![Build Status](https://camo.githubusercontent.com/94964925db8566d9dfd89de850ea4e928fe2acdc4f1c1a41ef5099cad7b02058/68747470733a2f2f7472617669732d63692e6f72672f7765657a7179642f687474702d61646170746572732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/weezqyd/http-adapters)[![Latest Stable Version](https://camo.githubusercontent.com/b2832a3715ad5019e6e2b73c4b5e144c634462e6886942b5287699727aaf28c6/68747470733a2f2f706f7365722e707567782e6f72672f7765657a7179642f687474702d61646170746572732f762f737461626c652e737667)](https://packagist.org/packages/weezqyd/http-adapters) [![Total Downloads](https://camo.githubusercontent.com/1c32ea5bb2f284eaa722d674f4911dd1de93196af9c1a4c880279edf9cbae9ee/68747470733a2f2f706f7365722e707567782e6f72672f7765657a7179642f687474702d61646170746572732f642f746f74616c)](https://packagist.org/packages/weezqyd/http-adapters) [![Latest Unstable Version](https://camo.githubusercontent.com/4ec977fdbcd1c1c3fe2483c6af48c42de5b686c5f399a3b34ac992536242630b/68747470733a2f2f706f7365722e707567782e6f72672f7765657a7179642f687474702d61646170746572732f762f756e737461626c652e737667)](https://packagist.org/packages/weezqyd/http-adapters) [![License](https://camo.githubusercontent.com/38b7aa548b3780a76b3b67c71df413afb6edcf1a8f1ad0ffba45b9acf4af040c/68747470733a2f2f706f7365722e707567782e6f72672f7765657a7179642f687474702d61646170746572732f6c6963656e73652e737667)](https://packagist.org/packages/weezqyd/http-adapters)

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

[](#installation)

This library can be found on [Packagist](https://packagist.org/packages/weezqyd/http-adapters). The recommended way to install this is through [composer](http://getcomposer.org).

Run these commands to install the packages:

```
$ composer require weezqyd/http-adapters
```

You then need to install **one** of the following:

```
$ composer require kriswallsmith/buzz:~0.10
$ composer require guzzlehttp/guzzle:~5.0
$ composer require guzzlehttp/guzzle:~6.0
```

GuzzleHttp Adapter
------------------

[](#guzzlehttp-adapter)

If you use Guzzle, just pass an array of options to the constructor of `Http\Adapter\GuzzleHttpAdapter`. Please refer to [Guzzle Documentation](http://docs.guzzlephp.org/en/stable/request-options.html). for a full list of possible options

Example
-------

[](#example)

```
