Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
57 lines (57 loc) · 1.9 KB
/
Copy pathcomposer.json
File metadata and controls
57 lines (57 loc) · 1.9 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
{
"name": "gacela-project/api-skeleton",
"type": "project",
"license": "MIT",
"require": {
"php": ">=8.3",
"gacela-project/gacela": "^2.4",
"gacela-project/router": "^0.14",
"gacela-project/container": "^2.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.95",
"phpstan/phpstan": "^1.12",
"phpunit/phpunit": "^10.5",
"psalm/plugin-phpunit": "^0.19",
"symfony/var-dumper": "^6.4",
"vimeo/psalm": "^6.0"
},
"autoload": {
"psr-4": {
"App\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"AppTest\\": "tests/"
}
},
"scripts": {
"ctal": ["@static-clear-cache", "@csfix", "@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 --testsuite=unit,feature --coverage-html=data/coverage-html",
"psalm": "XDEBUG_MODE=off ./vendor/bin/psalm",
"phpstan": "XDEBUG_MODE=off ./vendor/bin/phpstan analyze",
"csfix": "XDEBUG_MODE=off ./vendor/bin/php-cs-fixer fix",
"csrun": "XDEBUG_MODE=off ./vendor/bin/php-cs-fixer fix --dry-run",
"serve": "php -S localhost:8080 public/index.php",
"post-create-project-cmd": [
"@php -r \"file_exists('app-config.php') || copy('app-config.dist.php', 'app-config.php');\""
]
},
"config": {
"platform": {
"php": "8.3.16"
},
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
}
}