-
Notifications
You must be signed in to change notification settings - Fork 4
/
composer.json
86 lines (86 loc) · 3.43 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
{
"name": "chubbyphp/chubbyphp-framework",
"description": "A minimal, highly performant middleware PSR-15 microframework built with as little complexity as possible, aimed primarily at those developers who want to understand all the vendors they use.",
"keywords": [
"chubbyphp",
"framework",
"microframework",
"micro framework",
"middleware",
"requesthandler",
"psr-3",
"psr-7",
"psr-11",
"psr-15",
"psr-17"
],
"license": "MIT",
"authors": [
{
"name": "Dominik Zogg",
"email": "[email protected]"
}
],
"require": {
"php": "^8.2",
"chubbyphp/chubbyphp-http-exception": "^1.1",
"psr/container": "^1.1.2|^2.0.2",
"psr/http-factory-implementation": "^1.0",
"psr/http-factory": "^1.1",
"psr/http-message-implementation": "^1.0|^2.0",
"psr/http-message": "^1.1|^2.0",
"psr/http-server-handler": "^1.0.2",
"psr/http-server-middleware": "^1.0.2",
"psr/log": "^2.0|^3.0.2"
},
"require-dev": {
"chubbyphp/chubbyphp-dev-helper": "dev-master",
"chubbyphp/chubbyphp-mock": "^1.8",
"guzzlehttp/psr7": "^2.7",
"http-interop/http-factory-guzzle": "^1.2",
"infection/infection": "^0.29.8",
"laminas/laminas-diactoros": "^3.5",
"nyholm/psr7": "^1.8.2",
"php-coveralls/php-coveralls": "^2.7.0",
"phpstan/extension-installer": "^1.4.3",
"phpstan/phpstan": "^2.0.3",
"phpunit/phpunit": "^11.5.0",
"slim/psr7": "^1.7",
"sunrise/http-message": "^3.2"
},
"autoload": {
"psr-4": { "Chubbyphp\\Framework\\": "src/" }
},
"autoload-dev": {
"psr-4": { "Chubbyphp\\Tests\\Framework\\": "tests/" }
},
"config": {
"sort-packages": true,
"allow-plugins": {
"phpstan/extension-installer": true,
"infection/extension-installer": true
}
},
"extra": {
"branch-alias": {
"dev-master": "5.2-dev"
}
},
"scripts": {
"fix:cs": "mkdir -p build && PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix --cache-file=build/phpcs.cache",
"test": [
"@test:lint",
"@test:unit",
"@test:integration",
"@test:infection",
"@test:static-analysis",
"@test:cs"
],
"test:cs": "mkdir -p build && PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix --dry-run --stop-on-violation --cache-file=build/phpcs.cache",
"test:infection": "vendor/bin/infection --threads=$(nproc) --min-msi=100 --verbose --coverage=build/phpunit",
"test:integration": "vendor/bin/phpunit --testsuite=Integration --cache-directory=build/phpunit",
"test:lint": "mkdir -p build && find src tests -name '*.php' -print0 | xargs -0 -n1 -P$(nproc) php -l | tee build/phplint.log",
"test:static-analysis": "mkdir -p build && bash -c 'vendor/bin/phpstan analyse src --no-progress --level=8 --error-format=junit | tee build/phpstan.junit.xml; if [ ${PIPESTATUS[0]} -ne \"0\" ]; then exit 1; fi'",
"test:unit": "vendor/bin/phpunit --testsuite=Unit --coverage-text --coverage-clover=build/phpunit/clover.xml --coverage-html=build/phpunit/coverage-html --coverage-xml=build/phpunit/coverage-xml --log-junit=build/phpunit/junit.xml --cache-directory=build/phpunit"
}
}