-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
95 lines (95 loc) · 3.03 KB
/
composer.json
File metadata and controls
95 lines (95 loc) · 3.03 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "marcohefti/request-network-api-client",
"description": "Request Network REST API client for PHP.",
"keywords": [
"request-network",
"api-client",
"php-client",
"blockchain",
"payments",
"invoicing",
"web3",
"crypto-payments",
"psr-18",
"psr-7"
],
"type": "library",
"license": "MIT",
"homepage": "https://github.com/marcohefti/request-network-api-client-php",
"authors": [
{
"name": "Marco Hefti",
"homepage": "https://github.com/marcohefti"
}
],
"support": {
"issues": "https://github.com/marcohefti/request-network-api-client-php/issues",
"source": "https://github.com/marcohefti/request-network-api-client-php",
"docs": "https://github.com/marcohefti/request-network-api-client-php#readme"
},
"require": {
"php": "^8.2",
"ext-json": "*",
"ext-hash": "*",
"ext-mbstring": "*",
"opis/json-schema": "^2.6",
"psr/http-client": "^1.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.1",
"psr/http-server-handler": "^1.0",
"psr/http-server-middleware": "^1.0",
"psr/log": "^1.1 || ^2.0 || ^3.0"
},
"require-dev": {
"phpunit/phpunit": "^11.2",
"phpstan/phpstan": "^1.11",
"phpstan/phpstan-strict-rules": "^1.6",
"squizlabs/php_codesniffer": "^3.10",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"slevomat/coding-standard": "^8.14",
"phpmd/phpmd": "^2.15",
"friendsofphp/php-cs-fixer": "^3.66",
"nyholm/psr7": "^1.8"
},
"autoload": {
"psr-4": {
"RequestSuite\\RequestPhpClient\\": "src/",
"RequestSuite\\RequestPhpClient\\Generated\\": "generated/"
},
"files": [
"src/index.php"
]
},
"autoload-dev": {
"psr-4": {
"RequestSuite\\RequestPhpClient\\Tests\\": "tests/"
}
},
"scripts": {
"test": "@php vendor/bin/phpunit --configuration phpunit.xml.dist",
"stan": "@php vendor/bin/phpstan analyse -c phpstan.neon.dist",
"coverage": "@php -d xdebug.mode=coverage vendor/bin/phpunit --configuration phpunit.coverage.xml.dist --colors=never",
"update:spec": "node ./scripts/sync-contracts.mjs",
"codegen": "node ./scripts/generate-openapi.mjs",
"parity:openapi": "@php scripts/parity-openapi.php",
"parity:webhooks": "@php scripts/parity-webhooks.php",
"cs": "@php vendor/bin/phpcs --standard=phpcs.xml.dist",
"cs:fix": "@php vendor/bin/phpcbf --standard=phpcs.xml.dist || true",
"md": "@php -d error_reporting=E_ALL\\&~E_DEPRECATED\\&~E_USER_DEPRECATED vendor/bin/phpmd src text phpmd.xml --exclude specs,vendor,generated,tests"
},
"suggest": {
"ext-openssl": "Required for some cryptographic operations (webhook verification)",
"ext-curl": "Recommended when using the built-in curl adapter",
"guzzlehttp/guzzle": "PSR-18 capable client for integration testing and production"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"platform": {
"php": "8.2.0"
}
},
"minimum-stability": "dev",
"prefer-stable": true
}