forked from phoneburner/api-handler
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
97 lines (97 loc) · 2.41 KB
/
composer.json
File metadata and controls
97 lines (97 loc) · 2.41 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "wickedbyte/api-handler",
"description": "Simple set of handlers to add an API to any project.",
"type": "library",
"license": "MIT",
"keywords": [
"api",
"psr",
"psr-7",
"psr-15",
"http",
"http-message",
"request",
"response"
],
"authors": [
{
"name": "Andy Snell",
"email": "andy@wickedbyte.com"
},
{
"name": "Tim Lytle",
"email": "tim@timlytle.net"
}
],
"require": {
"php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^2.0",
"psr/http-server-middleware": "^1.0",
"wickedbyte/http-tortilla": "^3.0"
},
"require-dev": {
"jangregor/phpstan-prophecy": "^2.2.0",
"php-parallel-lint/php-parallel-lint": "^1.4",
"phpspec/prophecy-phpunit": "^2.4",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-phpunit": "^2.0",
"phpunit/phpunit": "^11.5 || ^12.0",
"rector/rector": "^2.1",
"wickedbyte/coding-standard": "^1.0"
},
"homepage": "https://github.com/wickedbyte/api-handler",
"prefer-stable": true,
"autoload": {
"psr-4": {
"WickedByte\\ApiHandler\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"WickedByte\\Tests\\ApiHandler\\": "tests/"
}
},
"scripts": {
"lint": [
"@putenv XDEBUG_MODE=off",
"@php vendor/bin/parallel-lint -j $(nproc) --show-deprecated --exclude vendor --exclude build ."
],
"phpcbf": [
"@putenv XDEBUG_MODE=off",
"@php vendor/bin/phpcbf --parallel=$(nproc) --report=full"
],
"phpcs": [
"@putenv XDEBUG_MODE=off",
"@php vendor/bin/phpcs --parallel=$(nproc) --report=full"
],
"phpstan": [
"@putenv XDEBUG_MODE=off",
"@php vendor/bin/phpstan analyze --memory-limit=-1 --verbose"
],
"phpunit": [
"@putenv XDEBUG_MODE=off",
"@php vendor/bin/phpunit"
],
"phpunit-coverage": [
"@putenv XDEBUG_MODE=coverage",
"@php vendor/bin/phpunit --coverage-html=build/phpunit"
],
"rector": [
"@putenv XDEBUG_MODE=off",
"@php vendor/bin/rector process"
],
"rector-dry-run": [
"@putenv XDEBUG_MODE=off",
"@php vendor/bin/rector process --dry-run"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
},
"sort-packages": true
}
}