diff --git a/composer.json b/composer.json index 6310979..718a754 100644 --- a/composer.json +++ b/composer.json @@ -21,6 +21,7 @@ "doctrine/orm": "^3.2", "phpunit/phpunit": "^9.6", "psr/http-message": "^1.1", + "psr/http-server-handler": "^1.0", "slim/psr7": "^1.7" }, "require": { @@ -31,7 +32,8 @@ "doctrine/orm": "For testing Doctrine repositories", "slim/psr7": "For testing PSR-7 handlers", "phpunit/phpunit": "For actual testing code", - "psr/http-message": "For testing PSR-7 handlers" + "psr/http-message": "For testing PSR-7 handlers", + "psr/http-server-handler": "Required for PsrHttp utility" }, "config": { "sort-packages": true diff --git a/composer.lock b/composer.lock index aa9d57d..62c1096 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "d77ece3a5e4f87c2be3b5c5694032194", + "content-hash": "0213b32d83346a5c88a5fd86e8eb1c7f", "packages": [], "packages-dev": [ { @@ -1726,6 +1726,62 @@ }, "time": "2023-04-04T09:50:52+00:00" }, + { + "name": "psr/http-server-handler", + "version": "1.0.2", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-server-handler.git", + "reference": "84c4fb66179be4caaf8e97bd239203245302e7d4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-server-handler/zipball/84c4fb66179be4caaf8e97bd239203245302e7d4", + "reference": "84c4fb66179be4caaf8e97bd239203245302e7d4", + "shasum": "" + }, + "require": { + "php": ">=7.0", + "psr/http-message": "^1.0 || ^2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Server\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP server-side request handler", + "keywords": [ + "handler", + "http", + "http-interop", + "psr", + "psr-15", + "psr-7", + "request", + "response", + "server" + ], + "support": { + "source": "https://github.com/php-fig/http-server-handler/tree/1.0.2" + }, + "time": "2023-04-10T20:06:20+00:00" + }, { "name": "psr/log", "version": "3.0.0",