-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomposer.json
70 lines (70 loc) · 1.59 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"name": "sunrise/http-client-curl",
"homepage": "https://github.com/sunrise-php/http-client-curl",
"description": "A simple cURL client implementing PSR-18.",
"license": "MIT",
"keywords": [
"fenric",
"sunrise",
"http",
"client",
"curl",
"psr-18"
],
"authors": [
{
"name": "Anatoly Nekhay",
"email": "[email protected]",
"homepage": "https://github.com/fenric"
},
{
"name": "李昀陞 (Peter)",
"email": "[email protected]",
"homepage": "https://github.com/peter279k"
}
],
"require": {
"php": ">=8.1",
"ext-curl": "*",
"psr/http-client": "^1.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.0 || ^2.0"
},
"require-dev": {
"php-di/php-di": "^7.0",
"phpstan/phpstan": "^2.1",
"phpunit/phpunit": "^10.5",
"squizlabs/php_codesniffer": "^3.11",
"sunrise/http-message": "^3.4",
"vimeo/psalm": "^6.5"
},
"provide": {
"psr/http-client-implementation": "1.0",
"php-http/client-implementation": "1.0"
},
"autoload": {
"psr-4": {
"Sunrise\\Http\\Client\\Curl\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Sunrise\\Http\\Client\\Curl\\Tests\\": "tests/"
}
},
"scripts": {
"phpcs": "@php phpcs --colors",
"psalm": "@php psalm --no-cache",
"phpstan": "@php phpstan analyse src --configuration=phpstan.neon.php --level=9 --memory-limit=-1",
"phpunit": "@php phpunit --colors=always",
"test": [
"@phpcs",
"@psalm",
"@phpstan",
"@phpunit"
]
},
"config": {
"sort-packages": true
}
}