diff --git a/README.md b/README.md index 0456325..7eb0219 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# HTTP factory for PHP 7.1+ (incl. PHP 8) based on PSR-17 +## HTTP factory for PHP 7.1+ based on PSR-17 [![Build Status](https://circleci.com/gh/sunrise-php/http-factory.svg?style=shield)](https://circleci.com/gh/sunrise-php/http-factory) [![Code Coverage](https://scrutinizer-ci.com/g/sunrise-php/http-factory/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/sunrise-php/http-factory/?branch=master) @@ -28,13 +28,19 @@ use Sunrise\Http\Factory\UriFactory; // just use PSR-17 methods... ``` -## Based on the following packages +#### HTTP headers as objects + +* https://github.com/sunrise-php/http-header-kit + +#### Based on the following packages * https://github.com/sunrise-php/http-message * https://github.com/sunrise-php/http-server-request * https://github.com/sunrise-php/stream * https://github.com/sunrise-php/uri +--- + ## Test run ```bash diff --git a/composer.json b/composer.json index 8a27b05..933390c 100644 --- a/composer.json +++ b/composer.json @@ -21,8 +21,8 @@ ], "require": { "php": "^7.1|^8.0", - "sunrise/http-message": "^1.4", - "sunrise/http-server-request": "^1.1", + "sunrise/http-message": "^2.0", + "sunrise/http-server-request": "^2.0", "sunrise/stream": "^1.2", "sunrise/uri": "^1.2" }, @@ -41,7 +41,7 @@ "scripts": { "test": [ "phpcs", - "XDEBUG_MODE=coverage phpunit --coverage-text" + "XDEBUG_MODE=coverage phpunit --coverage-text --colors=always" ], "build": [ "phpdoc -d src/ -t phpdoc/", diff --git a/phpunit.xml.dist b/phpunit.xml.dist index f4e6672..d97e720 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,12 +1,12 @@ - + ./src - + ./tests/