-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
86 lines (86 loc) · 2.41 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
{
"name": "mathiasreker/php-svg-optimizer",
"description": "php-svg-optimizer is a PHP library designed to optimize SVG files by applying various transformations and cleanup operations.",
"license": "MIT",
"type": "library",
"version": "5.2.4",
"keywords": [
"optimize",
"svg",
"minify",
"compress",
"clean",
"minifier"
],
"authors": [
{
"name": "Mathias Reker",
"role": "Developer"
}
],
"homepage": "https://github.com/mathiasreker/php-svg-optimizer",
"require": {
"php": ">=8.3",
"ext-dom": "*",
"ext-libxml": "*"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.45",
"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",
"povils/phpmnd": "^3.5",
"rector/rector": "^2.0",
"shipmonk/phpstan-rules": "^4.1",
"slam/phpstan-extensions": "^6.6",
"squizlabs/php_codesniffer": "^4.0.x-dev",
"symplify/phpstan-rules": "^14.2",
"tomasvotruba/cognitive-complexity": "^1.0"
},
"autoload": {
"psr-4": {
"MathiasReker\\PhpSvgOptimizer\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"MathiasReker\\PhpSvgOptimizer\\Tests\\": "tests/"
}
},
"bin": [
"bin/svg-optimizer"
],
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true,
"phpunit/phpunit": true
},
"preferred-install": "dist",
"sort-packages": true
},
"extra": {
"phpstan": {
"includes": [
"extension.neon"
]
}
},
"scripts": {
"cs-check": "php vendor/bin/php-cs-fixer --config=.php-cs-fixer.dist.php fix . --dry-run --diff",
"cs-fix": "php vendor/bin/php-cs-fixer --config=.php-cs-fixer.dist.php fix .",
"format": "composer normalize && composer phpcbf-fix & composer rector-fix && composer cs-fix",
"phpcbf-fix": "vendor/bin/phpcbf --standard=PEAR,PSR1,PSR2,PSR12 -d memory_limit=512M src tests bin",
"phpstan": "vendor/bin/phpstan analyse -c phpstan.neon",
"rector-check": "vendor/bin/rector process --dry-run",
"rector-fix": "vendor/bin/rector process",
"test": "vendor/bin/phpunit --bootstrap vendor/autoload.php --colors=always tests/"
},
"platform": {
"php": "8.3"
}
}