-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathcomposer.json
More file actions
88 lines (88 loc) · 2.55 KB
/
composer.json
File metadata and controls
88 lines (88 loc) · 2.55 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
{
"name": "piotrsiejczuk/m2-performance-review",
"description": "Comprehensive Magento 2 Performance Review and Optimization Tool",
"type": "project",
"license": "GPL-3.0",
"version": "1.0.3",
"authors": [
{
"name": "Piotr Siejczuk",
"email": "piotr.siejczuk@gmail.com",
"homepage": "https://github.com/PiotrSiejczuk"
}
],
"keywords": [
"magento2",
"performance",
"optimization",
"analysis",
"security",
"redis",
"opcache",
"varnish"
],
"homepage": "https://github.com/PiotrSiejczuk/m2-performance-review",
"support": {
"issues": "https://github.com/PiotrSiejczuk/m2-performance-review/issues",
"source": "https://github.com/PiotrSiejczuk/m2-performance-review"
},
"require": {
"php": ">=8.0",
"symfony/console": "^5.4|^6.0",
"symfony/process": "^5.4|^6.0",
"ext-json": "*",
"ext-pdo": "*",
"ext-curl": "*"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "^3.7",
"phpstan/phpstan": "^1.10"
},
"suggest": {
"ext-redis": "Required for Redis performance analysis",
"ext-opcache": "Required for OPcache analysis",
"react/event-loop": "Required for real-time monitoring server",
"react/socket": "Required for real-time monitoring server",
"react/http": "Required for real-time monitoring server",
"guzzlehttp/guzzle": "Required for AI recommendations (OpenAI API)",
"tecnickcom/tcpdf": "For PDF report generation",
"dompdf/dompdf": "Alternative PDF generation library"
},
"autoload": {
"psr-4": {
"M2Performance\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"M2Performance\\Tests\\": "tests/"
}
},
"bin": [
"bin/m2-performance"
],
"scripts": {
"test": "vendor/bin/phpunit",
"cs-check": "vendor/bin/phpcs --standard=PSR12 src/",
"cs-fix": "vendor/bin/phpcbf --standard=PSR12 src/",
"stan": "vendor/bin/phpstan analyse src --level=5",
"build-phar": "php -d phar.readonly=0 build-phar.php",
"post-install-cmd": [
"@check-requirements"
],
"check-requirements": [
"@php -r \"if (version_compare(PHP_VERSION, '8.0.0', '<')) { echo 'Error: PHP 8.0 or higher is required.\\n'; exit(1); }\""
]
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"composer/package-versions-deprecated": true
}
},
"minimum-stability": "stable",
"prefer-stable": true
}