chillerlan/php-httpinterface

A http PSR-7/17/18 client/interface for PHP7.4+

5.0.1 2021-10-01 12:29 UTC

This package is auto-updated.

Last update: 2021-12-20 01:17:55 UTC


README

A PSR-7/PSR-17/PSR-18 implementation for PHP 7.4+.

PHP Version Support version license Coverage Scrunitizer Packagist downloads
Continuous Integration

Documentation

See the wiki for advanced documentation. An API documentation created with phpDocumentor can be found at https://chillerlan.github.io/php-httpinterface/ (WIP).

Requirements

Installation

requires composer

composer.json (note: replace dev-main with a version boundary)

{
	"require": {
		"php": "^7.4 || ^8.0",
		"chillerlan/php-httpinterface": "dev-main"
	}
}

Note: replace dev-main with a version constraint, e.g. ^5.0 - see releases for valid versions. In case you want to keep using dev-main, specify the hash of a commit to avoid running into unforseen issues like so: dev-main#8ac7f056ef2d492b0c961da29472c27324218b83

Profit!

License information

This library contains portions of code (especially tests) from the following libraries: