-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcomposer.json
More file actions
103 lines (103 loc) · 2.5 KB
/
composer.json
File metadata and controls
103 lines (103 loc) · 2.5 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
98
99
100
101
102
103
{
"name": "phoneburner/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": "Conor Hooley",
"email": "conorh@phoneburner.com"
},
{
"name": "John Boctor",
"email": "johnb@phoneburner.com"
},
{
"name": "John Congdon",
"email": "jcongdon@phoneburner.com"
},
{
"name": "Phil Tadeo",
"email": "phil@phoneburner.com"
}
],
"require": {
"php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
"phoneburner/http-tortilla": "^2.0.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^2.0",
"psr/http-server-middleware": "^1.0"
},
"require-dev": {
"jangregor/phpstan-prophecy": "^2.2.0",
"phoneburner/coding-standard": "^1.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": "^12.2",
"rector/rector": "^2.1"
},
"autoload": {
"psr-4": {
"PhoneBurner\\ApiHandler\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"PhoneBurner\\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
}
}