An open API service indexing awesome lists of open source software.

https://github.com/lefuturiste/httper

A file_get_contents based, PSR-7 http client.
https://github.com/lefuturiste/httper

client http php

Last synced: 8 months ago
JSON representation

A file_get_contents based, PSR-7 http client.

Awesome Lists containing this project

README

          

# Httper

A file_get_contents based, PSR-7 http client.

## Installation

`composer require lefuturiste/httper`

## Usage

```php
//execute a simple GET request to google.com
$client = new Httper\Client();
$response = $client->request("GET", "https://google.com")
```

## Tests

`composer test`

or

`composer run test`

or

`composer run phpunit`