Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
68 lines (68 loc) · 1.58 KB
/
Copy pathcomposer.json
File metadata and controls
68 lines (68 loc) · 1.58 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
{
"name": "gopay/payments-sdk-php",
"description": "GoPay's PHP SDK for Payments REST API",
"keywords": [
"gopay",
"payments",
"sdk",
"rest",
"api"
],
"type": "library",
"license": "MIT",
"authors": [
{
"name": "GoPay",
"homepage": "https://github.com/gopaycommunity/gopay-php-api/contributors"
}
],
"config": {
"bin-dir": "bin",
"optimize-autoloader": true,
"platform": {
"php": "8.1.0"
},
"allow-plugins": {
"captainhook/hook-installer": true
}
},
"autoload": {
"psr-4": {
"GoPay\\": "src/"
},
"files": [
"factory.php"
],
"classmap": [
"src/"
]
},
"autoload-dev": {
"psr-4": {
"GoPay\\Tests\\Integration\\": "tests/integration/",
"GoPay\\Tests\\Unit\\": "tests/unit/"
}
},
"require": {
"php": ">=8.1",
"guzzlehttp/guzzle": "^7.7.0",
"symfony/deprecation-contracts": "^3.3.0"
},
"require-dev": {
"phpunit/phpunit": "10.5.67",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-phpunit": "^2.0",
"friendsofphp/php-cs-fixer": "^3.95",
"captainhook/hook-installer": "^1.0",
"captainhook/captainhook": "^5.29"
},
"scripts": {
"test": "@php bin/phpunit",
"test:unit": "@php bin/phpunit --testsuite unit",
"test:integration": "@php bin/phpunit --testsuite integration",
"test:coverage": "@php bin/phpunit --coverage-html build/coverage/html --coverage-text",
"phpstan": "phpstan analyse --no-progress",
"cs-check": "php-cs-fixer fix --dry-run --diff",
"cs-fix": "php-cs-fixer fix"
}
}