-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
70 lines (70 loc) · 1.93 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": "radebatz/openapi-verifier",
"description": "Verify JSON (api response) against OpenAPI specification.",
"license": [
"MIT"
],
"homepage": "http://radebatz.net/mano/",
"authors": [
{
"name": "Martin Rademacher",
"email": "[email protected]"
}
],
"prefer-stable": true,
"scripts": {
"cs": "php-cs-fixer fix --allow-risky=yes",
"lint": "@cs --dry-run",
"test": [
"phpunit",
"@lint"
],
"refresh-specs": [
"@php vendor/bin/openapi tests/Fixtures -o tests/specifications/users.json",
"@php vendor/bin/openapi tests/Fixtures -o tests/specifications/users.yaml"
],
"analyse": [
"export XDEBUG_MODE=off && phpstan analyse --memory-limit=2G"
]
},
"config": {
"sort-packages": true
},
"autoload": {
"psr-4": {
"Radebatz\\OpenApi\\Verifier\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Radebatz\\OpenApi\\Verifier\\Tests\\": "tests"
}
},
"extra": {
"branch-alias": {
"dev-master": "2.x-dev"
}
},
"require": {
"php": ">=8.1",
"ext-json": "*",
"justinrainbow/json-schema": "^5.2.13",
"nyholm/psr7": "^1.1",
"nyholm/psr7-server": "^1.0",
"psr/http-message": "^2.0",
"symfony/psr-http-message-bridge": "^6.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.47.1",
"league/container": "^4.2",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^10.0",
"symfony/yaml": "^6.0|^7.0",
"zircote/swagger-php": "^4.8"
},
"suggest": {
"laravel/laravel": "A PHP framework",
"slim/slim": "A PHP framework",
"zircote/swagger-php": "OpenApi library to generate OpenAPI documentation from PHP annotations."
}
}