forked from klarna/kco_rest_php
-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
43 lines (43 loc) · 1.35 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
{
"name": "centarro/kco_rest",
"description": "Community maintained Klarna PHP SDK",
"homepage": "https://github.com/centarro/kco_rest_php",
"license": "Apache-2.0",
"type": "library",
"autoload": {
"psr-4": {
"Klarna\\": "src/Klarna/"
}
},
"autoload-dev": {
"psr-4": {
"Klarna\\Rest\\Tests\\": "tests/"
}
},
"minimum-stability": "stable",
"require": {
"php": ">=8.1",
"guzzlehttp/guzzle": "~6.0 || ^7.0"
},
"require-dev": {
"phpunit/phpunit": "~10.0",
"squizlabs/php_codesniffer": "^3.0",
"phpmd/phpmd": "2.1.*",
"php-coveralls/php-coveralls": "^2.1",
"apigen/apigen": "4.1.*",
"klarna/apigen-theme": "2.1.0"
},
"scripts": {
"test": "vendor/bin/phpunit --colors",
"reference": "vendor/bin/apigen generate -s src -d docs/reference --template-config='vendor/klarna/apigen-theme/src/config.neon'",
"checkstyle": "vendor/bin/phpcs --standard=PSR2 --report=checkstyle --extensions=php src/ tests/",
"check": [
"@test",
"@checkstyle"
],
"analyze": [
"mkdir -p build/logs",
"vendor/bin/phpcs --standard=PSR2 --report=checkstyle --report-file=build/logs/checkstyle.xml --extensions=php src/ tests/"
]
}
}