# Common classes for HTTP based Geocoders

[![Build Status](https://travis-ci.org/geocoder-php/php-common-http.svg?branch=master)](http://travis-ci.org/geocoder-php/php-common-http)
[![Latest Stable Version](https://poser.pugx.org/geocoder-php/common-http/v/stable)](https://packagist.org/packages/geocoder-php/common-http)
[![Total Downloads](https://poser.pugx.org/geocoder-php/common-http/downloads)](https://packagist.org/packages/geocoder-php/common-http)
[![Monthly Downloads](https://poser.pugx.org/geocoder-php/common-http/d/monthly.png)](https://packagist.org/packages/geocoder-php/common-http)
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/geocoder-php/php-common-http.svg?style=flat-square)](https://scrutinizer-ci.com/g/geocoder-php/php-common-http)
[![Quality Score](https://img.shields.io/scrutinizer/g/geocoder-php/php-common-http.svg?style=flat-square)](https://scrutinizer-ci.com/g/geocoder-php/php-common-http)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)

This package has dependency on HTTP related libraries. Such as the great [HTTPlug](http://httplug.io/) and [PSR7](http://www.php-fig.org/psr/psr-7/).
It does contain a an `AbstractHttpProvider`. 

### Install

In 99% of the cases you do **not** want to install this package directly. You are more likely to install one provider. 
Have a look at [the documentation](https://github.com/geocoder-php/Geocoder) to see the different providers. 

```bash
composer require geocoder-php/common-http
```

### Contribute

Contributions are very welcome! Send a pull request to the [main repository](https://github.com/geocoder-php/Geocoder) or 
report any issues you find on the [issue tracker](https://github.com/geocoder-php/Geocoder/issues).
