-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomposer.json
85 lines (85 loc) · 2.29 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "sunrise/http-message",
"homepage": "https://github.com/sunrise-php/http-message",
"description": "HTTP message wrapper for PHP 7.4+ based on RFC-7230, PSR-7 and PSR-17",
"license": "MIT",
"keywords": [
"fenric",
"sunrise",
"http",
"header",
"message",
"request",
"response",
"stream",
"uri",
"upload",
"rfc-7230",
"psr-7",
"psr-17"
],
"authors": [
{
"name": "Anatoly Nekhay",
"email": "[email protected]",
"homepage": "https://github.com/fenric"
}
],
"provide": {
"psr/http-message-implementation": "1.0",
"psr/http-factory-implementation": "1.0"
},
"require": {
"php": ">=7.4",
"fig/http-message-util": "^1.1",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.0"
},
"require-dev": {
"php-http/psr7-integration-tests": "^1.4",
"phpstan/phpstan": "^1.12",
"phpunit/phpunit": "^9.6",
"sunrise/coding-standard": "^1.0",
"vimeo/psalm": "^5.26"
},
"autoload": {
"files": [
"functions/server_request_files.php",
"functions/server_request_headers.php",
"functions/server_request_method.php",
"functions/server_request_protocol_version.php",
"functions/server_request_uri.php"
],
"psr-4": {
"Sunrise\\Http\\Message\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Sunrise\\Http\\Message\\Tests\\": "tests/"
}
},
"scripts": {
"test": [
"phpcs --colors",
"psalm --no-cache",
"phpstan analyse src --level=9 --memory-limit=-1",
"XDEBUG_MODE=coverage phpunit --coverage-text --colors=always"
],
"build": [
"phpdoc -d src/ -t phpdoc/",
"XDEBUG_MODE=coverage phpunit --coverage-html coverage/"
]
},
"conflict": {
"sunrise/http-factory": "*",
"sunrise/http-header": "*",
"sunrise/http-header-kit": "*",
"sunrise/http-server-request": "*",
"sunrise/stream": "*",
"sunrise/uri": "*"
},
"config": {
"sort-packages": true
}
}