-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
56 lines (56 loc) · 1.67 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"name": "art4/requests-psr18-adapter",
"description": "Use WordPress/Requests as a PSR-18 HTTP client",
"type": "library",
"license": "GPL-3.0-or-later",
"homepage": "https://github.com/Art4/WP-Requests-PSR18-Adapter",
"keywords": ["wordpress", "requests", "request", "response", "psr", "psr-18", "psr-7", "http", "http-client", "http-message"],
"authors": [
{
"name": "Art4",
"email": "[email protected]",
"homepage": "https://wlabs.de"
}
],
"require": {
"php": "^7.2 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
"psr/http-client": "^1.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.1 || ^2.0",
"rmccue/requests": "^1.8 || ^2.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.4",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^8 || ^9 || ^10",
"yoast/phpunit-polyfills": "^2"
},
"autoload": {
"files": ["v1-compat/autoload.php"],
"psr-4": {
"Art4\\Requests\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Art4\\Requests\\Tests\\": "tests"
}
},
"scripts": {
"codestyle": "php-cs-fixer fix",
"coverage": "phpunit --coverage-html=.code-coverage",
"phpstan": "phpstan analyze --memory-limit 512M --configuration .phpstan.neon",
"phpunit": "phpunit",
"test": [
"@phpstan",
"@phpunit",
"@codestyle --dry-run --diff"
]
},
"provide": {
"psr/http-client-implementation": "^1.0"
},
"config": {
"sort-packages": true
}
}