-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
166 lines (166 loc) · 6.44 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
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
160
161
162
163
164
165
166
{
"name": "reactive-apps/command-http-server",
"description": "HTTP Server command",
"license": "MIT",
"require": {
"php": "^7.3",
"cakephp/collection": "^3.6",
"doctrine/annotations": "^1.6",
"lcobucci/jwt": "^3.3",
"nikic/fast-route": "^1.2",
"react/http": "^0.8.0",
"reactive-apps/command": "dev-master",
"reactive-apps/life-cycle-events": "dev-master",
"roave/better-reflection": "^3.2",
"thecodingmachine/safe": "^0.1.16",
"thruway/middleware": "^0.0.2",
"voryx/thruway": "^0.5.3",
"wyrihaximus/broadcast": "dev-master",
"wyrihaximus/doctrine-annotation-autoloader": "^1.0",
"wyrihaximus/get-in-packages-composer.jason": "^1.0",
"wyrihaximus/json-psr7": "^1.0",
"wyrihaximus/psr-3-callable-throwable-logger": "^2.0",
"wyrihaximus/psr-3-context-logger": "^1.0",
"wyrihaximus/react-child-process-closure": "^1.0",
"wyrihaximus/react-child-process-pool": "^1.4",
"wyrihaximus/react-http-middleware-resume-response-body": "^1.0",
"wyrihaximus/react-http-middleware-rewrite": "^1.0",
"wyrihaximus/react-http-middleware-runner": "^1.0",
"wyrihaximus/react-http-middleware-session": "^3.0",
"wyrihaximus/react-http-middleware-twig": "^1.0",
"wyrihaximus/react-http-middleware-webroot-preload": "^1.0",
"wyrihaximus/react-http-psr-15-middleware-group": "^1.2",
"wyrihaximus/react-stream-json": "^1.2",
"wyrihaximus/recoil-promise-coroutine-wrapper": "^1.0",
"wyrihaximus/recoil-queue-caller-pool": "^1.2",
"wyrihaximus/string-get-in": "^1.0",
"wyrihaximus/to-child-process-or-not-to-child-process": "^1.0",
"wyrihaximus/to-coroutine-or-not-to-coroutine": "^1.0",
"wyrihaximus/to-thread-or-not-to-thread": "dev-master",
"zendframework/zend-diactoros": "^2.1"
},
"require-dev": {
"monolog/monolog": "^2.0",
"twig/twig": "^2.8",
"wyrihaximus/async-test-utilities": "^1.1",
"wyrihaximus/cs-fixer-config": "^1.0",
"wyrihaximus/pool-info": "^1.0",
"wyrihaximus/react-parallel": "dev-master"
},
"suggest": {
"wyrihaximus/react-parallel": "Run request handlers in threads (more performant than child processes)"
},
"config": {
"platform": {
"php": "7.3"
},
"sort-packages": true
},
"extra": {
"php-di-definitions": {
"di": [
"etc/di/*.php"
]
},
"reactive-apps": {
"command": {
"ReactiveApps\\Command\\HttpServer\\Command": "src/Command"
},
"http-controller": [
"src/Controller/*.php",
"src/Controller/**/*.php"
],
"required-config": {
"http-server.address": "The IP + Port to listen on, for example: 0.0.0.0:8080"
},
"suggested-config": {
"http-server.hsts": "Whether or not to set HSTS headers",
"http-server.public": "Public webroot to serve, note only put files in here everyone is allowed to see",
"http-server.public.preload.cache": "Custom cache to store the preloaded webroot files, stored in memory by default",
"http-server.middleware.prefix": "An array with react/http middleware added before the accesslog and webroot serving middleware",
"http-server.middleware.suffix": "An array with react/http middleware added after the accesslog and webroot serving middleware and before the route middleware and request handler",
"http-server.pool.ttl": "TTL for a child process to wait for it's next task",
"http-server.pool.min": "Minimum number of child processes",
"http-server.pool.max": "maximum number of child processes",
"http-server.rewrites": "Rewrites request path internally from one path to the other, invisible for visitors",
"http-server.thruway.realms": "An array with Thruway realms"
},
"listeners": {
"ReactiveApps\\LifeCycleEvents\\Shutdown": [
"src/Listener/Shutdown.php"
],
"ReactiveApps\\Command\\HttpServer\\Event\\RealmClose": [
"src/Listener/RealmClose.php"
],
"ReactiveApps\\Command\\HttpServer\\Event\\RealmOpen": [
"src/Listener/RealmOpen.php"
]
}
}
},
"autoload": {
"psr-4": {
"ReactiveApps\\Command\\HttpServer\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"ReactiveApps\\Tests\\Command\\HttpServer\\": "tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"post-install-cmd": [
"composer normalize"
],
"post-update-cmd": [
"composer normalize"
],
"ci-coverage": [
"if [ -f ./build/logs/clover.xml ]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover ./build/logs/clover.xml; fi"
],
"cs": [
"php-cs-fixer fix --config=.php_cs --ansi --dry-run --diff --verbose --allow-risky=yes --show-progress=estimating"
],
"cs-fix": [
"php-cs-fixer fix --config=.php_cs --ansi --verbose --allow-risky=yes --show-progress=estimating"
],
"infection": [
"infection --ansi --threads=4"
],
"lint-php": [
"parallel-lint --exclude vendor ."
],
"qa-all": [
"composer validate --ansi",
"composer normalize --ansi",
"@lint-php",
"@cs",
"@stan",
"@unit",
"@infection"
],
"qa-ci": [
"@unit"
],
"qa-ci-windows": [
"@qa-windows"
],
"qa-contrib": [
"@qa-all"
],
"qa-windows": [
"@lint-php",
"@cs",
"@stan",
"@unit"
],
"stan": [
"phpstan analyse src tests --level max --ansi -c phpstan.neon"
],
"unit": [
"phpunit --colors=always -c phpunit.xml.dist --coverage-text --coverage-html covHtml --coverage-clover ./build/logs/clover.xml"
]
}
}