-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
78 lines (78 loc) · 2.26 KB
/
composer.json
File metadata and controls
78 lines (78 loc) · 2.26 KB
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
{
"name": "radebatz/openapi-extras",
"description": "Extra annotations for OpenApi/swagger-php.",
"keywords": ["OpenApi", "swagger-php", "api"],
"license": [
"MIT"
],
"homepage": "http://radebatz.net/mano/",
"authors": [
{
"name": "Martin Rademacher",
"email": "mano@radebatz.org"
}
],
"prefer-stable": true,
"scripts-descriptions": {
"cs": "Fix all codestyle issues",
"lint": "Test codestyle",
"test": "Run all non-legacy and codestyle tests",
"analyse": "Run static analysis (phpstan/psalm)"
},
"scripts": {
"cs": "export XDEBUG_MODE=off && php-cs-fixer fix --allow-risky=yes",
"rector": "rector process src tests",
"lint": [
"@cs --dry-run",
"@rector --dry-run"
],
"test": [
"export XDEBUG_MODE=off && phpunit",
"@lint"
],
"analyse": [
"export XDEBUG_MODE=off && phpstan analyse --memory-limit=2G",
"export XDEBUG_MODE=off && psalm --threads=1"
]
},
"config": {
"sort-packages": true
},
"autoload": {
"psr-4": {
"Radebatz\\OpenApi\\Extras\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Radebatz\\OpenApi\\Extras\\Tests\\": "tests/"
}
},
"extra": {
"branch-alias": {
"dev-master": "4.x-dev"
}
},
"require": {
"php": ">=8.1",
"psr/log": "^2.0 || ^3.0",
"psr/simple-cache": "^1.0 || ^2.0 || ^3.0",
"zircote/swagger-php": "^4.11.1 || ^5.0 || ^6.0.3"
},
"require-dev": {
"composer/package-versions-deprecated": "^1.11",
"doctrine/annotations": "^2.0",
"friendsofphp/php-cs-fixer": "^3.0",
"phpstan/phpstan": "^1.6 || ^2.0",
"phpunit/phpunit": "^9.0",
"rector/rector": "^1.2 || ^2.0",
"vimeo/psalm": "^4.23 || ^5.0"
},
"conflict": {
"symfony/process": ">=6, <6.4.14"
},
"suggest": {
"radebatz/openapi-router": "Routing adapter for OpenApi annotations.",
"radebatz/openapi-verifier": "Allows your PHPUnit tests to validate your controller response against your OpenAPI spec."
}
}