forked from elephox-dev/mimey
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
122 lines (122 loc) · 3.78 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
115
116
117
118
119
120
121
122
{
"name": "esi/mimey",
"description": "PHP package for converting file extensions to MIME types and vice versa.",
"license": "MIT",
"type": "library",
"keywords": [
"mime",
"mime-types",
"mime-type",
"apache-mimetypes",
"file-mime-type"
],
"authors": [
{
"name": "Eric Sizemore",
"email": "[email protected]",
"homepage": "https://www.ericsizemore.com",
"role": "Developer"
},
{
"name": "Ralph Khattar",
"email": "[email protected]",
"role": "Original Developer"
},
{
"name": "Ricardo Boss",
"email": "[email protected]",
"role": "Fork Developer"
}
],
"support": {
"issues": "https://github.com/ericsizemore/mimey/issues",
"forum": "https://github.com/ericsizemore/mimey/discussions",
"source": "https://github.com/ericsizemore/mimey/tree/develop/src",
"security": "https://github.com/ericsizemore/mimey/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/mimey"
}
],
"require": {
"php": "^8.2 <8.5"
},
"require-dev": {
"esi/phpunit-coverage-check": "^2.0",
"friendsofphp/php-cs-fixer": "^3.68",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^11.5",
"psalm/plugin-phpunit": "^0.19.0",
"rector/rector": "^2.0",
"vimeo/psalm": "^6.1"
},
"suggest": {
"ext-mbstring": "For non-English (user) input parsing"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Esi\\Mimey\\": [
"src/",
"dist/"
]
}
},
"autoload-dev": {
"psr-4": {
"Esi\\Mimey\\Tests\\": "tests/src/"
}
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": true
}
},
"extra": {
"branch-alias": {
"dev-develop": "2.0-dev"
}
},
"scripts": {
"analyze": [
"@clear-build",
"@composer validate",
"@phpunit",
"@code-coverage",
"@phpstan",
"@psalm",
"@psalm:security",
"@psalm:shepherd"
],
"clear-build": "rm -rf ./build/*",
"code-coverage": "vendor/bin/coverage-check build/logs/clover.xml 100",
"generate-types": "@php bin/generate.php",
"phpcs:check": "@phpcs:fix --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 -vvv",
"phpunit": "vendor/bin/phpunit",
"phpunit:migrate": "@phpunit --migrate-configuration",
"psalm": "vendor/bin/psalm -c psalm.xml --no-cache --no-diff",
"psalm:baseline": "vendor/bin/psalm -c psalm.xml --no-cache --no-diff --set-baseline=psalm-baseline.xml",
"psalm:security": "vendor/bin/psalm -c psalm.xml --no-cache --no-diff --taint-analysis",
"psalm:shepherd": "@psalm --shepherd --stats",
"refactor:check": "@refactor:fix --dry-run",
"refactor:fix": "vendor/bin/rector process",
"update-types": "@php bin/update.php"
}
}