PHPackages                             voku/httpful - 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. voku/httpful

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

voku/httpful
============

A Readable, Chainable, REST friendly, PHP HTTP Client

3.0.1(2y ago)16183.9k↓31.7%71MITPHPPHP &gt;=7.4

Since Apr 14Pushed 1y ago3 watchersCompare

[ Source](https://github.com/voku/httpful)[ Packagist](https://packagist.org/packages/voku/httpful)[ Docs](https://github.com/voku/httpful)[ Fund](https://www.paypal.me/moelleken)[ GitHub Sponsors](https://github.com/voku)[ RSS](/packages/voku-httpful/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (9)Versions (60)Used By (1)

[![Build Status](https://github.com/voku/httpful/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/voku/httpful/actions)[![codecov.io](https://camo.githubusercontent.com/1bb30530b5e47a2cd8776d01006ce2d84c356b893c85c283bea07260a45e06d9/68747470733a2f2f636f6465636f762e696f2f6769746875622f766f6b752f6874747066756c2f636f7665726167652e7376673f6272616e63683d6d6173746572)](https://codecov.io/github/voku/httpful?branch=master)[![Codacy Badge](https://camo.githubusercontent.com/01f70d7816b5057e5159130e6e39da523e9f37abedfc4c028d7afd044f72d33d/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3538383265333761366364323466366339643163663730613038303634313436)](https://www.codacy.com/app/voku/httpful)[![Latest Stable Version](https://camo.githubusercontent.com/5b6012cffe068a3e82f1cbba2de49431a45e13fe8ded4106e45034122cfb5ac5/68747470733a2f2f706f7365722e707567782e6f72672f766f6b752f6874747066756c2f762f737461626c65)](https://packagist.org/packages/voku/httpful)[![Total Downloads](https://camo.githubusercontent.com/15577d45b2e951511c9c45d78896eef50ac5b0a8fd0cbedfe9c6420aa8a46fb9/68747470733a2f2f706f7365722e707567782e6f72672f766f6b752f6874747066756c2f646f776e6c6f616473)](https://packagist.org/packages/voku/httpful)[![License](https://camo.githubusercontent.com/3461e7bb896faf2d5f41bb0f37833615657fa6495565adbaaec2602453c0ba75/68747470733a2f2f706f7365722e707567782e6f72672f766f6b752f6874747066756c2f6c6963656e7365)](https://packagist.org/packages/voku/httpful)[![Donate to this project using Paypal](https://camo.githubusercontent.com/0d6e4d8b50b5983a58205941b1a581b1305903393b7a39da574e3f60af3c7f5b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70617970616c2d646f6e6174652d79656c6c6f772e737667)](https://www.paypal.me/moelleken)[![Donate to this project using Patreon](https://camo.githubusercontent.com/f9e075baad95563481d35174d43ef50757281abb6bc795d0f473fad452afa030/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70617472656f6e2d646f6e6174652d79656c6c6f772e737667)](https://www.patreon.com/voku)

📯 Httpful
=========

[](#-httpful)

Forked some years ago from [nategood/httpful](https://github.com/nategood/httpful) + added support for parallel request and implemented many PSR Interfaces: A Chainable, REST Friendly Wrapper for cURL with many "PSR-HTTP" implemented interfaces.

Features

- Readable HTTP Method Support (GET, PUT, POST, DELETE, HEAD, PATCH and OPTIONS)
- Custom Headers
- Automatic "Smart" Parsing
- Automatic Payload Serialization
- Basic Auth
- Client Side Certificate Auth (SSL)
- Request "Download"
- Request "Templates"
- Parallel Request (via curl\_multi)
- PSR-3: Logger Interface
- PSR-7: HTTP Message Interface
- PSR-17: HTTP Factory Interface
- PSR-18: HTTP Client Interface

Examples
========

[](#examples)

```
