Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
106 lines (106 loc) · 4.6 KB
/
Copy pathcomposer.json
File metadata and controls
106 lines (106 loc) · 4.6 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
{
"name": "fleetbase/fleetbase-php",
"description": "Official PHP SDK for the Fleetbase logistics and operations APIs",
"type": "library",
"keywords": ["fleetbase", "logistics-api", "ecommerce-api", "fleetbase-sdk", "fleetbase-api"],
"homepage": "https://github.com/fleetbase/fleetbase-php",
"license": "AGPL-3.0-or-later",
"authors": [
{
"name": "Ronald A. Richardson",
"email": "ron@fleetbase.io",
"homepage": "https://fleetbase.io"
}
],
"support": {
"docs": "https://fleetbase.io/docs/api",
"issues": "https://github.com/fleetbase/fleetbase-php/issues",
"rss": "https://github.com/fleetbase/fleetbase-php/releases.atom",
"source": "https://github.com/fleetbase/fleetbase-php.git",
"wiki": "https://github.com/fleetbase/fleetbase-php/wiki"
},
"require": {
"php": "^7.4 || ^8.0",
"doctrine/inflector": "^2.0",
"guzzlehttp/guzzle": "^7.4",
"psr/http-client": "^1.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.0 || ^2.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.64",
"mockery/mockery": "^1.6",
"php-parallel-lint/php-parallel-lint": "^1.4",
"phpstan/phpstan": "^2.2",
"phpstan/phpstan-mockery": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpunit/phpunit": "^9.6 || ^10.5 || ^11.5 || ^12.0",
"symfony/yaml": "^5.4"
},
"autoload": {
"psr-4": {
"Fleetbase\\Sdk\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Fleetbase\\Sdk\\Test\\": "tests/"
}
},
"scripts": {
"lint": "parallel-lint src tests tools",
"format": "php-cs-fixer fix --diff --verbose --sequential",
"format:check": "php-cs-fixer fix --dry-run --diff --verbose --sequential",
"analyse": "phpstan analyse --configuration=phpstan.neon.dist --no-progress --debug",
"test:unit": "@php tools/run-unit-tests.php",
"test:unit:legacy": "phpunit --configuration=phpunit-9.xml.dist",
"test:coverage": [
"@php tools/run-unit-tests.php --coverage-clover=build/coverage/clover.xml --coverage-cobertura=build/coverage/cobertura.xml --coverage-html=build/coverage/html --coverage-php=build/coverage/coverage.php --coverage-text=build/coverage/summary.txt",
"@php tools/merge-terminating-coverage.php"
],
"contract:check": "@php tools/check-contract-manifest.php",
"contract:complete": "@php tools/check-contract-manifest.php --require-complete",
"license:check": "@php tools/check-license.php",
"contract:generated": [
"@php tools/generate-endpoint-services.php",
"@php tools/generate-api-coverage.php",
"@php tools/generate-api-examples.php",
"git diff --exit-code -- contracts/php-sdk-examples.json contracts/postman-manifest.json contracts/service-map.json docs/api-coverage.md docs/api-examples.md src/Services tests/Contract"
],
"api:snapshot": "@php tools/generate-api-snapshot.php --autoload=vendor/autoload.php --label=working-tree --output=build/contracts/public-api-current.json",
"api:compatibility": [
"@api:snapshot",
"@php tools/check-api-compatibility.php --baseline=contracts/public-api-1.0.2.json --current=build/contracts/public-api-current.json",
"@php tools/check-api-compatibility.php --baseline=contracts/public-api-1.0.3.json --current=build/contracts/public-api-current.json",
"@php tools/check-api-compatibility.php --baseline=contracts/public-api-1.1.0.json --current=build/contracts/public-api-current.json",
"@php tools/check-api-compatibility.php --baseline=contracts/public-api-1.2.0.json --current=build/contracts/public-api-current.json",
"@php tools/check-api-compatibility.php --baseline=contracts/public-api-1.3.0.json --current=build/contracts/public-api-current.json"
],
"check": [
"@lint",
"@format:check",
"@analyse",
"@test:unit",
"@contract:check",
"@contract:generated",
"@license:check",
"@api:compatibility"
]
},
"funding": [
{
"type": "custom",
"url": "https://fleetbase.io"
}
],
"minimum-stability": "stable",
"prefer-stable": true,
"config": {
"sort-packages": true,
"allow-plugins": {},
"preferred-install": {
"*": "dist"
},
"optimize-autoloader": true
}
}