PHPackages                             alextartan/guzzle-psr18-adapter - 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. alextartan/guzzle-psr18-adapter

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

alextartan/guzzle-psr18-adapter
===============================

Lightweight wrapper over Guzzle to comply with PSR18

4.0.4(5y ago)3264.7k↓14.4%[1 PRs](https://github.com/alextartan/guzzle-psr18-adapter/pulls)2Apache-2.0PHPPHP &gt;=7.4||&gt;=8.0

Since Nov 14Pushed 5y ago1 watchersCompare

[ Source](https://github.com/alextartan/guzzle-psr18-adapter)[ Packagist](https://packagist.org/packages/alextartan/guzzle-psr18-adapter)[ RSS](/packages/alextartan-guzzle-psr18-adapter/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (11)Versions (21)Used By (2)

#### Guzzle Adapter for PSR-18

[](#guzzle-adapter-for-psr-18)

Wrapper over Guzzle to comply with PSR-18

Current build status
====================

[](#current-build-status)

[![CI](https://github.com/alextartan/guzzle-psr18-adapter/workflows/CI/badge.svg?branch=master)](https://github.com/alextartan/guzzle-psr18-adapter/workflows/CI/badge.svg?branch=master)[![codecov](https://camo.githubusercontent.com/31b72e413e2bc729dd92084fd54501f653a8526b968035c7f7931ceecbb731d0/68747470733a2f2f636f6465636f762e696f2f67682f616c657874617274616e2f67757a7a6c652d70737231382d616461707465722f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/alextartan/guzzle-psr18-adapter)[![Infection MSI](https://camo.githubusercontent.com/d6f9ca6bd379262f766e73f58d6927a9cd3e5211302d14caae926a3b8b3aac94/68747470733a2f2f62616467652e737472796b65722d6d757461746f722e696f2f6769746875622e636f6d2f616c657874617274616e2f67757a7a6c652d70737231382d616461707465722f6d6173746572)](https://infection.github.io)[![Downloads](https://camo.githubusercontent.com/b15bf62f91a1865ae1c5535c3552fd2c5ac62feefa778505f3dc59a369e24445/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f64796e616d69632f6a736f6e2e7376673f75726c3d68747470733a2f2f7265706f2e7061636b61676973742e6f72672f7061636b616765732f616c657874617274616e2f67757a7a6c652d70737231382d616461707465722e6a736f6e266c6162656c3d446f776e6c6f6164732671756572793d242e7061636b6167652e646f776e6c6f6164732e746f74616c26636f6c6f72423d6f72616e6765)](https://packagist.org/packages/alextartan/guzzle-psr18-adapter)

Install
=======

[](#install)

The easiest way is to use `composer`:

```
composer require alextartan/guzzle-psr18-adapter

```

Note: requires `PHP` &gt;= 7.2

Usage
=====

[](#usage)

Example:

```
