Skip to content

Commit

Permalink
require all necessary psr implementations
Browse files Browse the repository at this point in the history
the code relies on psr7, psr17 and psr18 implementations to be available, with the discovery.

it no longer uses the php-http httplug interface (which was made obsolete by psr-18). php-http/client-common is also not used in the code.
  • Loading branch information
dbu authored May 21, 2022
1 parent 9fb6b8a commit a28a0c5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@
"type": "library",
"require": {
"php" : "^7.1 || ^8.0",
"php-http/client-common": "^2.0",
"psr/http-message-implementation": "*",
"psr/http-factory-implementation": "*",
"psr/http-client-implementation": "*",
"php-http/discovery": "^1.7",
"nyholm/psr7": "^1.0",
"ext-json": "*"
},
"require-dev": {
"php-http/guzzle6-adapter": "^2.0",
"guzzlehttp/psr7": "^2.0",
"phpunit/phpunit": "6.* | 7.* | 8.* | 9.*"
},
"autoload": {
Expand Down

0 comments on commit a28a0c5

Please sign in to comment.