<p align="center">
    <a href="https://github.com/yiisoft" target="_blank">
        <img src="https://avatars0.githubusercontent.com/u/993323" height="100px">
    </a>
    <h1 align="center">HTTP Client Extension for Yii 2</h1>
    <br>
</p>

This extension provides the HTTP client for the [Yii framework 2.0](https://www.yiiframework.com).

For license information check the [LICENSE](LICENSE.md)-file.

Documentation is at [docs/guide/README.md](docs/guide/README.md).

[![Latest Stable Version](https://poser.pugx.org/yiisoft/yii2-httpclient/v)](https://packagist.org/packages/yiisoft/yii2-httpclient)
[![Total Downloads](https://poser.pugx.org/yiisoft/yii2-httpclient/downloads)](https://packagist.org/packages/yiisoft/yii2-httpclient)
[![Build Status](https://github.com/yiisoft/yii2-httpclient/workflows/build/badge.svg)](https://github.com/yiisoft/yii2-httpclient/actions)


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

The preferred way to install this extension is through [composer](https://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist yiisoft/yii2-httpclient
```

or add

```
"yiisoft/yii2-httpclient": "~2.0.0"
```

to the require section of your composer.json.
