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

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

ddrv/http-client
================

simple HTTP client without cURL dependency

v2.0.3(5y ago)12241MITPHPPHP &gt;=7.0

Since Jun 3Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ddrv/php-http-client)[ Packagist](https://packagist.org/packages/ddrv/http-client)[ Fund](https://www.paypal.me/ddrv)[ RSS](/packages/ddrv-http-client/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (4)Dependencies (6)Versions (11)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/5ce9a239caa665cf16281f94ef28b11616b3f3e3d65f17e00806c0faf02d316e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646472762f687474702d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ddrv/http-client)[![Total Downloads](https://camo.githubusercontent.com/434899aadbf5a2c3adf65a4db4523fd19867e660aec25eec4c723966834e6162/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646472762f687474702d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ddrv/http-client/stats)[![License](https://camo.githubusercontent.com/d263f4ee39c747ffaadb206573e65f7da7ffd14085ae3f31355776a7fb106eff/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f646472762f687474702d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://github.com/ddrv/php-http-client/blob/master/LICENSE)[![PHP](https://camo.githubusercontent.com/9417bf89764203f6f7bdb89e08b5d9c616f05246867c738bdcffcc6e13467b31/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f646472762f687474702d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://php.net)

ddrv/http-client
================

[](#ddrvhttp-client)

Simple HTTP client without cURL dependency. Required `allow_url_fopen` option in `php.ini` file.

```
; php.ini
allow_url_fopen = On
```

Install
=======

[](#install)

Install this package, your favorite [psr-7 implementation](https://packagist.org/providers/psr/http-message-implementation) and your favorite [psr-17 implementation](https://packagist.org/providers/psr/http-factory-implementation).

```
composer require ddrv/http-client:^2.0
```

Using
=====

[](#using)

```
