-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
114 lines (114 loc) · 3.6 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
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
{
"name": "esi/librariesio",
"description": "LibrariesIO - A simple API wrapper/client for the Libraries.io API.",
"license": "MIT",
"type": "library",
"keywords": [
"api",
"api-client",
"api-wrapper",
"libraries",
"librariesio",
"libraries.io"
],
"authors": [
{
"name": "Eric Sizemore",
"email": "[email protected]",
"homepage": "https://www.secondversion.com/"
}
],
"homepage": "https://github.com/ericsizemore/librariesio",
"support": {
"issues": "https://github.com/ericsizemore/librariesio/issues",
"forum": "https://github.com/ericsizemore/librariesio/discussions",
"source": "https://github.com/ericsizemore/librariesio/tree/master",
"docs": "https://github.com/ericsizemore/librariesio/tree/master/docs",
"rss": "https://github.com/ericsizemore/librariesio/releases.atom",
"security": "https://github.com/ericsizemore/librariesio/security/policy"
},
"funding": [
{
"type": "custom",
"url": "https://ko-fi.com/ericsizemore"
},
{
"type": "github",
"url": "https://github.com/ericsizemore"
},
{
"type": "tidelift",
"url": "https://tidelift.com/funding/github/packagist/esi/librariesio"
}
],
"require": {
"php": "^8.2 <8.5",
"ext-json": "*",
"guzzlehttp/guzzle": "^7.9",
"kevinrob/guzzle-cache-middleware": "^6.0",
"symfony/cache": "^7.1"
},
"require-dev": {
"esi/phpunit-coverage-check": "^2.0",
"friendsofphp/php-cs-fixer": "^3.65",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^2.0",
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^11.4",
"psalm/plugin-phpunit": "^0.19.0",
"vimeo/psalm": "dev-master"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Esi\\LibrariesIO\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Esi\\LibrariesIO\\Tests\\": "tests/src/"
}
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": true
}
},
"extra": {
"branch-alias": {
"dev-master": "2.0-dev"
}
},
"scripts": {
"analyze": [
"@clear-build",
"@composer validate",
"@phpunit",
"@code-coverage",
"@psalm:shepherd",
"@psalm:security",
"@phpstan"
],
"clear-build": "rm -rf ./build/*",
"code-coverage": "vendor/bin/coverage-check build/logs/clover.xml 100",
"phpcs:check": "vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php --dry-run --diff",
"phpcs:fix": "vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php",
"phpstan": "vendor/bin/phpstan analyse -c phpstan.neon",
"psalm": "vendor/bin/psalm -c psalm.xml --no-cache --show-info=true",
"psalm:baseline": "@psalm --no-diff --set-baseline=psalm-baseline.xml",
"psalm:security": "@psalm --no-diff --taint-analysis",
"psalm:shepherd": "@psalm --no-diff --shepherd --stats",
"static-analysis": [
"@phpstan",
"@psalm"
],
"phpunit": "vendor/bin/phpunit",
"phpunit:coverage": [
"@phpunit",
"@code-coverage"
]
}
}