-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
89 lines (89 loc) · 2.46 KB
/
Copy pathcomposer.json
File metadata and controls
89 lines (89 loc) · 2.46 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
{
"name": "wardwj/recharge-api",
"description": "Enterprise-grade PHP SDK for Recharge Payments API - Multi-version support (2021-01, 2021-11) with PSR compliance",
"type": "library",
"license": "MIT",
"keywords": [
"recharge",
"payments",
"subscriptions",
"api",
"sdk",
"psr-18",
"psr-7",
"psr-3"
],
"authors": [
{
"name": "Your Name",
"email": "your.email@example.com"
}
],
"require": {
"php": "^8.2",
"guzzlehttp/guzzle": "^7.8",
"guzzlehttp/psr7": "^2.6",
"nesbot/carbon": "^2.0 || ^3.0",
"php-http/discovery": "^1.19",
"psr/http-client": "^1.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.0 || ^2.0",
"psr/log": "^3.0"
},
"require-dev": {
"captainhook/captainhook": "^5.27",
"friendsofphp/php-cs-fixer": "^3.48",
"mockery/mockery": "^1.6",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^10.0",
"rector/rector": "^1.0",
"symfony/var-dumper": "^7.0"
},
"suggest": {
"monolog/monolog": "For comprehensive logging support (PSR-3)",
"symfony/cache": "For response caching capabilities"
},
"autoload": {
"psr-4": {
"Recharge\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Recharge\\Tests\\": "tests/"
}
},
"scripts": {
"test": "phpunit",
"test:coverage": "phpunit --coverage-html coverage",
"analyse": "phpstan analyse",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix",
"refactor": "rector process --dry-run",
"refactor:fix": "rector process",
"quality": [
"@cs:fix",
"@analyse",
"@test"
],
"ci": [
"@cs:check",
"@analyse",
"@test"
],
"hooks:install": "vendor/bin/captainhook install --force --skip-existing",
"hooks:uninstall": "vendor/bin/captainhook uninstall",
"post-install-cmd": "@hooks:install",
"post-update-cmd": "@hooks:install"
},
"config": {
"sort-packages": true,
"optimize-autoloader": true,
"preferred-install": "dist",
"allow-plugins": {
"php-http/discovery": true
}
},
"minimum-stability": "stable",
"prefer-stable": true
}