Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
159 lines (159 loc) · 5.66 KB
/
Copy pathcomposer.json
File metadata and controls
159 lines (159 loc) · 5.66 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
"name": "buggregator/trap",
"description": "Local debug server and dump functions for PHP: dumps, logs, Sentry events, emails, OpenTelemetry traces and profiles in your console.",
"license": "BSD-3-Clause",
"type": "library",
"keywords": [
"debug",
"debugger",
"dump",
"dumper",
"var-dumper",
"cli",
"console",
"server",
"dev",
"sentry",
"smtp",
"mail",
"logger",
"psr-3",
"monolog",
"ray",
"profiler",
"profiling",
"xhprof",
"xdebug",
"excimer",
"spx",
"pprof",
"opentelemetry",
"otlp",
"tracing",
"protobuf",
"roadrunner",
"mcp",
"skills"
],
"authors": [
{
"name": "Aleksei Gagarin",
"homepage": "https://github.com/roxblnfk"
},
{
"name": "Pavel Buchnev",
"homepage": "https://github.com/butschster"
}
],
"homepage": "https://buggregator.dev/",
"funding": [
{
"type": "boosty",
"url": "https://boosty.to/roxblnfk"
}
],
"require": {
"php": ">=8.2",
"php-64bit": "*",
"ext-filter": "*",
"ext-sockets": "*",
"internal/container": "^1.1",
"internal/destroy": "^1.0",
"nyholm/psr7": "^1.8.1",
"psr/http-message": "^1.1 || ^2",
"psr/log": "^2 || ^3",
"symfony/console": "^6.4 || ^7 || ^8",
"symfony/var-dumper": "^6.3 || ^7 || ^8"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
"google/protobuf": "^3.25 || ^4.30 || ^v5.36.1",
"llm/skills": "^1.14",
"mockery/mockery": "^1.6.13",
"open-telemetry/gen-otlp-protobuf": "^1.10",
"roxblnfk/unpoly": "^1.8",
"testo/bridge-infection": "^0.1.9",
"testo/bridge-mockery": "^0.1.2",
"testo/testo": "^0.10.56"
},
"suggest": {
"ext-excimer": "To profile code with trap()::profile() using the Excimer sampling profiler",
"ext-openssl": "To accept TLS connections (HTTPS, SMTPS, STARTTLS) and to connect over TLS",
"ext-simplexml": "To load trap.xml and to run the Xdebug debugger",
"ext-spx": "To profile code with trap()::profile() using the SPX profiler",
"ext-tideways_xhprof": "To profile code with trap()::profile() using XHProf",
"ext-xhprof": "To profile code with trap()::profile() using XHProf",
"ext-zlib": "To accept gzip-compressed HTTP request bodies and profiles",
"google/protobuf": "To receive OpenTelemetry traces encoded as OTLP/HTTP protobuf (with open-telemetry/gen-otlp-protobuf)",
"llm/skills": "To install the `trap` AI-agent skill into your project: debugging, profiling and the MCP tools",
"open-telemetry/gen-otlp-protobuf": "To receive OpenTelemetry traces encoded as OTLP/HTTP protobuf",
"roxblnfk/unpoly": "If you want to remove unnecessary PHP polyfills depend on PHP version."
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Buggregator\\Trap\\": "src/"
},
"files": [
"src/functions.php"
]
},
"autoload-dev": {
"psr-4": {
"Buggregator\\Trap\\Tests\\": "tests/"
}
},
"bin": [
"bin/trap"
],
"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true,
"ergebnis/composer-normalize": true,
"llm/skills": true
},
"audit": {
"abandoned": "report"
},
"sort-packages": true
},
"extra": {
"skills": {
"source": "skills"
},
"bamarni-bin": {
"bin-links": true,
"forward-command": false,
"target-directory": "tools"
}
},
"scripts": {
"cs:diff": "php-cs-fixer fix --dry-run -v --diff --config=tools/code-style/.php-cs-fixer.dist.php",
"cs:fix": "php-cs-fixer fix -v --config=tools/code-style/.php-cs-fixer.dist.php",
"infect": [
"@putenv XDEBUG_MODE=coverage",
"infection --threads=max --min-msi=70 --min-covered-msi=70"
],
"infect:ci": [
"@putenv XDEBUG_MODE=coverage",
"infection --ansi --threads=max --logger-github --show-mutations=0 --min-msi=70 --min-covered-msi=70 --skip-initial-tests --coverage=runtime/infection-coverage"
],
"infect:ci:coverage": [
"@putenv XDEBUG_MODE=coverage",
"testo run --suite=Unit --coverage --coverage-xml=runtime/infection-coverage/coverage-xml --log-junit=runtime/infection-coverage/junit.xml"
],
"psalm": "psalm -c tools/psalm/psalm.xml",
"psalm:baseline": "psalm -c tools/psalm/psalm.xml --set-baseline=tools/psalm/psalm-baseline.xml",
"psalm:ci": "psalm -c tools/psalm/psalm.xml --output-format=github --shepherd --show-info=false --stats --threads=4",
"refactor": "rector process --config=tools/rector/rector.php",
"refactor:ci": "rector process --config=tools/rector/rector.php --dry-run --ansi",
"structarmed": "structarmed analyse --config=tools/structarmed/structarmed.php",
"structarmed:ci": "structarmed analyse --config=tools/structarmed/structarmed.php --no-progress",
"test": "testo",
"test:unit": "testo --suite=Unit",
"test:arch": "testo --suite=Arch",
"test:acceptance": "testo --suite=Acceptance",
"test:bench": "@php -d memory_limit=-1 -d zend.enable_gc=0 -d xdebug.mode=off vendor/bin/testo --suite=Bench"
}
}