67 lines
2 KiB
JSON
67 lines
2 KiB
JSON
{
|
|
"name": "php-http/client-common",
|
|
"description": "Common HTTP Client implementations and tools for HTTPlug",
|
|
"license": "MIT",
|
|
"keywords": ["http", "client", "httplug", "common"],
|
|
"homepage": "http://httplug.io",
|
|
"authors": [
|
|
{
|
|
"name": "Márk Sági-Kazár",
|
|
"email": "mark.sagikazar@gmail.com"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": "^7.1 || ^8.0",
|
|
"php-http/httplug": "^2.0",
|
|
"php-http/message": "^1.6",
|
|
"php-http/message-factory": "^1.0",
|
|
"psr/http-client": "^1.0",
|
|
"psr/http-factory": "^1.0",
|
|
"psr/http-message": "^1.0",
|
|
"symfony/options-resolver": "~4.0.15 || ~4.1.9 || ^4.2.1 || ^5.0 || ^6.0",
|
|
"symfony/polyfill-php80": "^1.17"
|
|
},
|
|
"require-dev": {
|
|
"doctrine/instantiator": "^1.1",
|
|
"guzzlehttp/psr7": "^1.4",
|
|
"nyholm/psr7": "^1.2",
|
|
"phpspec/phpspec": "^5.1 || ^6.3 || ^7.1",
|
|
"phpspec/prophecy": "^1.10.2",
|
|
"phpunit/phpunit": "^7.5.15 || ^8.5 || ^9.3"
|
|
},
|
|
"suggest": {
|
|
"ext-json": "To detect JSON responses with the ContentTypePlugin",
|
|
"ext-libxml": "To detect XML responses with the ContentTypePlugin",
|
|
"php-http/logger-plugin": "PSR-3 Logger plugin",
|
|
"php-http/cache-plugin": "PSR-6 Cache plugin",
|
|
"php-http/stopwatch-plugin": "Symfony Stopwatch plugin"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Http\\Client\\Common\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"spec\\Http\\Client\\Common\\": "spec/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"test": [
|
|
"vendor/bin/phpspec run",
|
|
"vendor/bin/phpunit"
|
|
],
|
|
"test-ci": [
|
|
"vendor/bin/phpspec run -c phpspec.ci.yml",
|
|
"vendor/bin/phpunit"
|
|
]
|
|
},
|
|
"config": {
|
|
"sort-packages": true
|
|
},
|
|
"extra": {
|
|
"branch-alias": {
|
|
"dev-master": "2.3.x-dev"
|
|
}
|
|
}
|
|
}
|