-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathcomposer.json
76 lines (76 loc) · 2.72 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"name": "paypayopa/php-sdk",
"description": "PHP SDK for PayPay Open Payment API",
"license": "Apache-2.0",
"type": "library",
"keywords": [
"japan",
"opa",
"paypay",
"payment",
"qr",
"qrcode"
],
"authors": [
{
"name": "PayPay Open Source Development Team",
"email": "[email protected]"
}
],
"autoload": {
"classmap": [
"src/core/"
],
"psr-4": {
"PayPay\\OpenPaymentAPI\\": "src/",
"PayPay\\OpenPaymentAPI\\Controller\\": "src/Controllers/"
},
"files": [
"src/helpers/utility_hmac.php"
]
},
"autoload-dev": {
"psr-4": {
"PayPay\\OpenPaymentAPI\\Test\\": "test/"
}
},
"config": {
"platform": {
"php": "7.4.8"
},
"preferred-install": "dist",
"sort-packages": true
},
"minimum-stability": "stable",
"prefer-stable": true,
"require": {
"php": ">=7.0.0",
"ext-json": "*",
"firebase/php-jwt": "^5.5 || ^6.0",
"guzzlehttp/guzzle": "^6.0 || ^7.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.16 || ^3.0",
"php-coveralls/php-coveralls": "^2.2",
"phpstan/phpstan": "^0.12.33 || ^1.0.0",
"phpunit/phpunit": "^9"
},
"scripts": {
"test": "./vendor/bin/phpunit --testdox tests",
"check-style": "vendor/bin/php-cs-fixer fix --dry-run --rules=@PSR2 --using-cache no src && vendor/bin/php-cs-fixer fix --dry-run --rules=@PSR2 --using-cache no tests && vendor/bin/php-cs-fixer fix --dry-run --rules=@PSR2 --using-cache no examples",
"fix-style": "vendor/bin/php-cs-fixer fix --rules=@PSR2 --using-cache no src && vendor/bin/php-cs-fixer fix --rules=@PSR2 --using-cache no tests && vendor/bin/php-cs-fixer fix --rules=@PSR2 --using-cache no tests",
"phpstan": "vendor/bin/phpstan analyze -c phpstan.neon",
"tests_run": "vendor/bin/phpunit --testdox tests",
"qr_test": "vendor/bin/phpunit --testdox --debug tests/QrTest.php",
"aclink_test": "vendor/bin/phpunit --debug --testdox ./tests/AccountLinkTest.php",
"refund_test": "vendor/bin/phpunit --testdox --debug tests/RefundTest.php",
"users_test": "vendor/bin/phpunit --testdox --debug tests/UserTest.php",
"wallet_test": "vendor/bin/phpunit --testdox --debug tests/WalletTest.php"
},
"scripts-descriptions": {
"test": "Run all tests.",
"check-style": "Run style checks (only dry run - no fixing!).",
"fix-style": "Run style checks and fix violations.",
"phpstan": "Run phpstan static code analysis"
}
}