-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomposer.json
186 lines (186 loc) · 6.02 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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
{
"name": "dean151/aln-symfony",
"description": "A pure PHP Symfony implementation to replace alnpet.com API",
"type": "project",
"license": "proprietary",
"minimum-stability": "stable",
"prefer-stable": true,
"require": {
"php": ">=8.3",
"ext-amqp": "*",
"ext-ctype": "*",
"ext-iconv": "*",
"ext-pcntl": "*",
"api-platform/core": "^3.2",
"doctrine/doctrine-bundle": "^2.7",
"doctrine/doctrine-migrations-bundle": "^3.2",
"doctrine/orm": "^2.16",
"lexik/jwt-authentication-bundle": "^3.0",
"nelmio/cors-bundle": "^2.2",
"php-amqplib/php-amqplib": "^3.2",
"phpdocumentor/reflection-docblock": "^5.3",
"react/event-loop": "^1.3",
"react/socket": "^1.11.0",
"symfony/asset": "7.1.*",
"symfony/console": "7.1.*",
"symfony/dotenv": "7.1.*",
"symfony/expression-language": "7.1.*",
"symfony/flex": "^2",
"symfony/framework-bundle": "7.1.*",
"symfony/mailer": "7.1.*",
"symfony/property-access": "7.1.*",
"symfony/property-info": "7.1.*",
"symfony/runtime": "7.1.*",
"symfony/security-bundle": "7.1.*",
"symfony/serializer": "7.1.*",
"symfony/translation": "7.1.*",
"symfony/twig-bundle": "7.1.*",
"symfony/uid": "7.1.*",
"symfony/validator": "7.1.*",
"symfony/yaml": "7.1.*",
"symfonycasts/reset-password-bundle": "^1.14",
"thecodingmachine/safe": "^2.2"
},
"require-dev": {
"doctrine/doctrine-fixtures-bundle": "^3.4",
"friendsofphp/php-cs-fixer": "^3.9",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "^1.8",
"phpstan/phpstan-doctrine": "^1.3",
"phpstan/phpstan-phpunit": "^1.1",
"phpstan/phpstan-symfony": "^1.2",
"phpunit/phpunit": "^10.0",
"symfony/browser-kit": "7.1.*",
"symfony/http-client": "7.1.*",
"symfony/maker-bundle": "^1.44",
"symfony/phpunit-bridge": "^7.0",
"symfony/stopwatch": "7.1.*",
"symfony/web-profiler-bundle": "7.1.*",
"thecodingmachine/phpstan-safe-rule": "^1.2",
"zalas/phpunit-globals": "^3.0.0-alpha",
"zenstruck/foundry": "^2.0"
},
"config": {
"allow-plugins": {
"composer/package-versions-deprecated": true,
"symfony/flex": true,
"symfony/runtime": true,
"phpstan/extension-installer": true
},
"optimize-autoloader": true,
"platform": {
"php": "8.3.6"
},
"preferred-install": {
"*": "dist"
},
"sort-packages": true
},
"autoload": {
"psr-4": {
"App\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"App\\Tests\\": "tests/"
}
},
"replace": {
"symfony/polyfill-ctype": "*",
"symfony/polyfill-iconv": "*",
"symfony/polyfill-php72": "*",
"symfony/polyfill-php73": "*",
"symfony/polyfill-php74": "*",
"symfony/polyfill-php80": "*",
"symfony/polyfill-php81": "*",
"symfony/polyfill-php82": "*",
"symfony/polyfill-php83": "*"
},
"scripts": {
"auto-scripts": {
"cache:clear": "symfony-cmd",
"assets:install %PUBLIC_DIR%": "symfony-cmd"
},
"post-install-cmd": [
"@auto-scripts"
],
"post-update-cmd": [
"@auto-scripts"
],
"check-style": [
"php-cs-fixer fix --dry-run"
],
"sniff": [
"php-cs-fixer fix"
],
"stan": [
"bin/console -e dev cache:warmup",
"phpstan analyse --memory-limit 1G",
"bin/console -e test cache:warmup",
"phpstan analyse -c phpstan.test.neon --memory-limit 1G"
],
"unit": [
"@pre-unit",
"@run-unit-socket",
"sleep 2",
"bin/phpunit",
"symfony server:stop"
],
"lint": [
"@sniff",
"@stan"
],
"test": [
"@lint",
"@unit"
],
"boot": [
"docker-compose up -d",
"symfony console lexik:jwt:generate-keypair --skip-if-exists",
"@start"
],
"start": [
"symfony server:start -d",
"symfony run -d --watch=config,src symfony console aln:socket:run"
],
"pause": [
"symfony server:stop"
],
"stop": [
"@pause",
"docker-compose stop"
],
"pre-unit": [
"bin/console lexik:jwt:generate-keypair --skip-if-exists",
"bin/console -e test doctrine:database:create --no-interaction --if-not-exists",
"bin/console -e test doctrine:migration:migrate --no-interaction --all-or-nothing --allow-no-migration",
"bin/console -e test doctrine:fixtures:load --no-interaction"
],
"run-unit-socket": [
"@pause",
"symfony run -d symfony console -e test aln:socket:run",
"symfony run -d symfony console -e test aln:feeder:simulate --fast ABC123456789",
"symfony run -d symfony console -e test aln:feeder:simulate --not-responding --fast OBU293827463"
]
},
"scripts-descriptions": {
"sniff": "Run PHP Code Sniffer analysis on codebase",
"stan": "Run PHPStan analysis on codebase",
"unit": "Run PHPUnit tests on codebase",
"test": "Run PHP Code Sniffer, PHPStan analysis & PHPUnit tests on codebase",
"boot": "Start docker, then webserver and socket",
"start": "Start webserver & socket server for development",
"pause": "Stop webserver & socket server",
"stop": "Stop Docker, webserver and socket"
},
"conflict": {
"symfony/symfony": "*"
},
"extra": {
"symfony": {
"allow-contrib": false,
"require": "7.1.*"
}
}
}