-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
60 lines (60 loc) · 1.8 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
{
"name": "bakame/pizza-king",
"description": "Compose pizza using PHP8",
"keywords": [
"PHP8",
"ADR",
"pizza"
],
"license": "MIT",
"type": "project",
"autoload": {
"psr-4": {
"Bakame\\PizzaKing\\": "src"
}
},
"require": {
"php": "^8.0",
"crell/api-problem": "^3.3",
"fig/http-message-util": "^1.1",
"league/uri-components": "^2.3",
"slim/psr7": "^1.3",
"slim/slim": "^4.7"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.18",
"phpmd/phpmd": "^2.9",
"phpunit/phpunit": "^9.5",
"phpstan/phpstan": "^0.12.70",
"phpstan/phpstan-strict-rules": "^0.12.9",
"phpstan/phpstan-phpunit": "^0.12.17",
"psalm/plugin-phpunit": "^0.15.1",
"vimeo/psalm": "^4.4"
},
"scripts": {
"phpmd": "phpmd src html phpmd.xml --exclude=vendor --ansi --reportfile build/phpmd.html",
"phpstan": "phpstan analyse -l max -c phpstan.neon src public --memory-limit 192M --ansi",
"psalm": "psalm --show-info=true",
"phpunit": "phpunit --coverage-text",
"phpcs": "php-cs-fixer fix -vvv --diff --dry-run --allow-risky=yes --ansi",
"start": "php -S 0.0.0.0:4000 -t public",
"test": [
"@phpunit",
"@phpstan",
"@psalm",
"@phpmd",
"@phpcs"
]
},
"scripts-descriptions": {
"phpstan": "Runs complete codebase static analysis",
"psalm": "Runs complete codebase static analysis",
"phpunit": "Runs unit and functional testing",
"phpcs": "Runs coding style testing",
"test": "Runs all tests",
"start": "Runs PHP local server"
},
"config": {
"sort-packages": true
}
}