-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
composer.json
75 lines (75 loc) · 2.05 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
{
"name": "sunrise/http-router",
"homepage": "https://github.com/sunrise-php/http-router",
"description": "HTTP router for PHP 7.1+ based on PSR-7 and PSR-15 with support for annotations/attributes and OpenAPI (Swagger) Specification",
"license": "MIT",
"keywords": [
"fenric",
"sunrise",
"http",
"router",
"request-handler",
"middlewares",
"annotations",
"attributes",
"openapi",
"swagger",
"psr-7",
"psr-15",
"php7",
"php8"
],
"authors": [
{
"name": "Anatoly Fenric",
"email": "afenric@gmail.com",
"homepage": "https://github.com/fenric"
}
],
"require": {
"php": "^7.1|^8.0",
"fig/http-message-util": "^1.1",
"psr/container": "^1.0 || ^2.0",
"psr/http-message": "^1.0",
"psr/http-server-handler": "^1.0",
"psr/http-server-middleware": "^1.0",
"psr/simple-cache": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "7.5.20|9.5.0",
"sunrise/coding-standard": "1.0.0",
"sunrise/http-factory": "2.0.0",
"doctrine/annotations": "^1.6",
"symfony/console": "^5.4",
"symfony/event-dispatcher": "^4.4"
},
"autoload": {
"files": [
"functions/emit.php",
"functions/path_build.php",
"functions/path_match.php",
"functions/path_parse.php",
"functions/path_plain.php",
"functions/path_regex.php"
],
"psr-4": {
"Sunrise\\Http\\Router\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Sunrise\\Http\\Router\\Tests\\": "tests/"
}
},
"scripts": {
"test": [
"phpcs",
"psalm",
"XDEBUG_MODE=coverage phpunit --coverage-text --colors=always"
],
"build": [
"phpdoc -d src/ -t phpdoc/",
"XDEBUG_MODE=coverage phpunit --coverage-html coverage/"
]
}
}