-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
89 lines (89 loc) · 3.4 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
{
"name" : "coco-project/coco-app",
"description" : "coco app",
"type" : "library",
"license" : "MIT",
"require" : {
"php" : ">=8.1",
"ext-redis" : "*",
"coco-project/config" : "^1.0",
"coco-project/constants" : "^1.0",
"coco-project/data-source" : "^1.0",
"coco-project/downloader" : "^1.0",
"coco-project/env" : "^1.0",
"coco-project/macroable" : "^1.0",
"coco-project/process-manager" : "^1.0",
"coco-project/timer" : "^1.0",
"coco-project/validate" : "^1.0",
"coco-project/env-detector" : "^1.0",
"godruoyi/php-snowflake" : "^3.0",
"laminas/laminas-eventmanager" : "^3.13",
"middlewares/trailing-slash" : "^2.0",
"monolog/monolog" : "^3.5",
"nette/utils" : "^4.0",
"php-di/php-di" : "^7.0",
"predis/predis" : "^2.2",
"slim/csrf" : "^1.4",
"slim/flash" : "^0.4.0",
"slim/psr7" : "^1.6",
"slim/slim" : "^4.11",
"swagger-api/swagger-ui" : "^5.11",
"symfony/cache" : "^5.4",
"symfony/console" : "^6.4",
"zeuxisoo/slim-whoops" : "^0.7.3",
"zircote/swagger-php" : "^4.8",
"slim/twig-view" : "^3.3",
"coco-project/session" : "^1.0",
"dflydev/fig-cookies" : "^3.1",
"coco-project/sse" : "^1.0",
"khanamiryan/qrcode-detector-decoder" : "^2.0",
"endroid/qr-code" : "^5.0",
"wapmorgan/unified-archive" : "^1.2",
"crunzphp/crunz" : "^3.7",
"coco-project/cron" : "^1.0"
},
"autoload" : {
"psr-4" : {
"Coco\\cocoApp\\" : "src/",
"Coco\\examples\\" : "examples/"
}
},
"require-dev" : {
"phpstan/phpstan" : "^1.10",
"phpunit/phpunit" : "^9.6",
"squizlabs/php_codesniffer" : "^3.8"
},
"autoload-dev" : {
"psr-4" : {
"Coco\\Tests\\" : "tests"
}
},
"scripts" : {
"test" : "./vendor/phpunit/phpunit/phpunit ",
"analyse" : "./vendor/bin/phpstan analyse -vvv --error-format=table > .phpstan.txt",
"check-style" : "./vendor/squizlabs/php_codesniffer/bin/phpcs -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests",
"fix-style" : "./vendor/squizlabs/php_codesniffer/bin/phpcbf -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests",
"run-test" : [
"@test",
"@fix-style",
"@analyse"
]
},
"scripts-descriptions" : {
"test" : "Run unit tests",
"check-style" : "Check code formatting with phpcs",
"fix-style" : "Fix code formatting with phpcbf",
"analyse" : "Run code analysis with phpstan",
"run-test" : "Execute test, fix-style, and analyse"
},
"config" : {
"sort-packages" : true,
"allow-plugins" : {
"symfony/flex" : true,
"phpstan/extension-installer" : true
},
"platform" : {
"php" : "8.1"
}
}
}