-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
67 lines (67 loc) · 1.56 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
{
"name": "usox/json-schema-api",
"description": "Json schema powered api creation for php",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Daniel Jakob",
"email": "[email protected]"
}
],
"require": {
"php": "~8.3",
"ext-json": "*",
"opis/json-schema": "^2.1",
"php-http/discovery": "^1.13",
"psr/http-factory": "^1.0",
"psr/http-message": "^1||^2",
"psr/http-server-handler": "^1.0",
"psr/log": "^1.1||^3",
"ramsey/uuid": "^4.1",
"teapot/status-code": "^2"
},
"autoload": {
"psr-4": {
"Usox\\JsonSchemaApi\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Usox\\JsonSchemaApi\\": "tests/"
}
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"laminas/laminas-diactoros": "^3",
"mikey179/vfsstream": "^1.6",
"phpstan/phpstan": "^1",
"phpstan/phpstan-strict-rules": "^1",
"phpunit/phpunit": "^11",
"rector/rector": "^1"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"php-http/discovery": true
}
},
"scripts": {
"qa": [
"@composer check-cs",
"@composer stan",
"@composer rector:dry",
"@composer test"
],
"check-cs": "php-cs-fixer fix --dry-run --diff",
"fix-cs": "php-cs-fixer fix",
"test": "phpunit tests",
"stan": "phpstan analyse",
"rector:dry": "rector process -n",
"rector:fix": "rector process",
"coverage": [
"phpunit --warm-coverage-cache tests && XDEBUG_MODE=coverage",
"phpunit --coverage-html build/coverage tests"
]
}
}