Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
110 lines (110 loc) · 3.44 KB
/
Copy pathcomposer.json
File metadata and controls
110 lines (110 loc) · 3.44 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
{
"name": "gacela-project/container",
"type": "library",
"description": "A minimalistic container dependency resolver",
"license": "MIT",
"homepage": "https://gacela-project.com",
"keywords": [
"php",
"gacela",
"resolver",
"container"
],
"authors": [
{
"name": "Jose M. Valera Reales",
"email": "gacela@chemaclass.com",
"homepage": "https://chemaclass.com"
},
{
"name": "Jesus Valera Reales",
"email": "hello@jesusvalera.dev",
"homepage": "https://jesusvalera.dev/"
}
],
"support": {
"issues": "https://github.com/gacela-project/container/issues"
},
"bin": [
"bin/gacela-container"
],
"prefer-stable": true,
"minimum-stability": "stable",
"require": {
"php": ">=8.3",
"psr/container": "^1.1 || ^2.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.75",
"phpunit/phpunit": "^12.5",
"phpstan/phpstan": "^2.2",
"symfony/var-dumper": "^6.4 || ^7.0",
"vimeo/psalm": "^6.16",
"phpbench/phpbench": "^1.4",
"infection/infection": "^0.31 || ^0.34 || ^0.35",
"symfony/yaml": "^6.4 || ^7.0"
},
"suggest": {
"symfony/yaml": "To load container definitions from .yaml/.yml files with loadFile(); not required — parse it yourself and use load()"
},
"autoload": {
"psr-4": {
"Gacela\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"GacelaTest\\": "tests/",
"GacelaBench\\": "benchmarks/"
}
},
"scripts": {
"post-install-cmd": ".github/git-hooks/init.sh",
"ctal": [
"@static-clear-cache",
"@csfix",
"@test-all"
],
"test": "@test-all",
"test-all": [
"@quality",
"@phpunit"
],
"quality": [
"@csrun",
"@psalm",
"@phpstan"
],
"phpunit": [
"@test-phpunit"
],
"static-clear-cache": [
"XDEBUG_MODE=off vendor/bin/psalm --clear-cache",
"XDEBUG_MODE=off vendor/bin/phpstan clear-result-cache"
],
"test-phpunit": "XDEBUG_MODE=off ./vendor/bin/phpunit",
"test-coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-html=data/coverage-html",
"test-coverage-check": [
"XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-clover=coverage.xml",
"php tools/check-coverage.php coverage.xml 95"
],
"infection": "XDEBUG_MODE=coverage ./vendor/bin/infection --threads=max --no-interaction",
"bench": "vendor/bin/phpbench run --report=aggregate",
"bench-baseline": "vendor/bin/phpbench run --tag=baseline --store --progress=none",
"bench:compare": "tools/bench-compare.sh",
"psalm": "XDEBUG_MODE=off ./vendor/bin/psalm",
"phpstan": "XDEBUG_MODE=off ./vendor/bin/phpstan analyze --memory-limit=1G",
"fix": "@csfix",
"csfix": "XDEBUG_MODE=off ./vendor/bin/php-cs-fixer fix",
"csrun": "XDEBUG_MODE=off ./vendor/bin/php-cs-fixer fix --dry-run"
},
"config": {
"platform": {
"php": "8.3.16"
},
"allow-plugins": {
"composer/package-versions-deprecated": true,
"infection/extension-installer": true
}
}
}