-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
141 lines (141 loc) · 4.82 KB
/
Copy pathcomposer.json
File metadata and controls
141 lines (141 loc) · 4.82 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"name": "jooservices/client",
"description": "Strict, extensible PHP 8.5+ HTTP client wrapper for JOOservices",
"type": "library",
"license": "MIT",
"keywords": [
"http-client",
"guzzle",
"dto",
"retry",
"circuit-breaker",
"async",
"cache",
"rate-limit",
"metrics",
"tracing",
"jooservices"
],
"authors": [
{
"name": "JOOservices",
"email": "contact@jooservices.com"
}
],
"support": {
"issues": "https://github.com/jooservices/client/issues",
"source": "https://github.com/jooservices/client"
},
"require": {
"php": "^8.5",
"guzzlehttp/guzzle": "^7.10 || ^8.0",
"jooservices/exceptions": "^0.5 || ^1.0",
"monolog/monolog": "^3.10",
"psr/http-client": "^1.0",
"psr/log": "^3.0",
"psr/simple-cache": "^3.0"
},
"suggest": {
"jooservices/dto": "Optional DTO helpers for ResponseWrapper::toDto()",
"mongodb/mongodb": "Required to persist logs with MongoDbLogger (native MongoDB PHP library)",
"ext-mongodb": "Required to persist logs with MongoDbLogger (PECL mongodb)",
"ext-curl": "Required when using ClientBuilder::withCurlAdapter()",
"ext-pdo": "Required to persist logs with MySqlLogger",
"ext-pdo_mysql": "Required for MySqlLogger MySQL/MariaDB DSNs"
},
"require-dev": {
"captainhook/captainhook": "^5.25",
"captainhook/plugin-composer": "^5.3",
"friendsofphp/php-cs-fixer": "^3.66",
"laravel/pint": "^1.18",
"mockery/mockery": "^1.6",
"mongodb/mongodb": "^2.0",
"phpbench/phpbench": "^1.4",
"phpmd/phpmd": "^2.15",
"phpstan/phpstan": "^2.0",
"phpstan/phpstan-mockery": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^13.0",
"squizlabs/php_codesniffer": "^4.0",
"symfony/filesystem": "^7.4|^8.0",
"symfony/var-dumper": "^8.0"
},
"autoload": {
"psr-4": {
"JOOservices\\Client\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"test": "@php vendor/bin/phpunit",
"test:coverage": [
"@php vendor/bin/phpunit --coverage-html coverage --coverage-clover coverage/clover.xml",
"@php scripts/coverage-check.php 98"
],
"bench": "@php vendor/bin/phpbench run --report=default",
"test:unit": "@php vendor/bin/phpunit --group=unit",
"test:integration": "@php vendor/bin/phpunit --group=integration",
"test:arch": "@php vendor/bin/phpunit --group=arch",
"lint:pint": "@php vendor/bin/pint --test",
"lint:pint:fix": "@php vendor/bin/pint",
"lint:cs": "@php vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php --dry-run --diff --sequential",
"lint:cs:fix": "@php vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php --sequential",
"lint:phpcs": "@php vendor/bin/phpcs --standard=phpcs.xml",
"lint:phpstan": [
"@php vendor/bin/phpstan analyse --configuration=phpstan.neon --memory-limit=512M",
"@php vendor/bin/phpstan analyse --configuration=phpstan-tests.neon --memory-limit=512M",
"@php vendor/bin/phpstan analyse --configuration=phpstan-examples.neon --memory-limit=512M"
],
"lint:phpmd": "@php -d error_reporting='E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED' vendor/bin/phpmd src text phpmd.xml",
"lint": [
"@lint:pint",
"@lint:phpcs",
"@lint:phpstan"
],
"lint:all": [
"@lint",
"@lint:phpmd",
"@lint:cs"
],
"lint:fix": [
"@lint:pint:fix",
"@lint:cs:fix"
],
"phpstan": "@lint:phpstan",
"analyse": "@lint:phpstan",
"phpcs": "@lint:phpcs",
"check:cs": "@lint:phpcs",
"phpmd": "@lint:phpmd",
"pint": "@lint:pint",
"pint:fix": "@lint:pint:fix",
"fix:cs": "@lint:fix",
"format": "@lint:fix",
"hook:install": "vendor/bin/captainhook install",
"check": [
"@lint:all",
"@test"
],
"ci": [
"@lint:all",
"@test:coverage"
],
"quality": [
"@check"
],
"post-install-cmd": "vendor/bin/captainhook install --force --skip-existing",
"post-update-cmd": "vendor/bin/captainhook install --force --skip-existing"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"captainhook/plugin-composer": true
}
},
"minimum-stability": "stable",
"prefer-stable": true
}