PHPackages                             davidlienhard/httpclient - 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. davidlienhard/httpclient

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

davidlienhard/httpclient
========================

🐘 php library to make http requests

1.0.7(5mo ago)25.6kMITPHPPHP ^8.4CI passing

Since May 18Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/davidlienhard/httpclient)[ Packagist](https://packagist.org/packages/davidlienhard/httpclient)[ Docs](https://github.com/davidlienhard/httpclient/)[ RSS](/packages/davidlienhard-httpclient/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (15)Used By (0)

davidlienhard/httpclient
========================

[](#davidlienhardhttpclient)

🐘 php library to send http requests

[![Latest Stable Version](https://camo.githubusercontent.com/401d3cbca9b09f7e828caff888b929a3b15a84a6b973d28b36a5f94b3eeb6983/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64617669646c69656e686172642f68747470636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/davidlienhard/httpclient)[![Source Code](https://camo.githubusercontent.com/3b83a8486527eeb3faa9b89fd3e2d86493203c6844ff424b76217602fcf39e90/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d64617669646c69656e686172642f68747470636c69656e742d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/davidlienhard/httpclient)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/davidlienhard/httpclient/blob/master/LICENSE)[![Minimum PHP Version](https://camo.githubusercontent.com/7f91fd16f805b376c8b9137ddc479aabdc9f79d19807832f85606cb3b74409c4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e302d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/)[![CI Status](https://github.com/davidlienhard/httpclient/actions/workflows/check.yml/badge.svg)](https://github.com/davidlienhard/httpclient/actions/workflows/check.yml)

Setup
-----

[](#setup)

You can install through `composer` with:

```
composer require davidlienhard/httpclient

```

*Note: davidlienhard/httpclient requires PHP 8.0*

Examples
--------

[](#examples)

### Simple Example

[](#simple-example)

```
