-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
72 lines (72 loc) · 2.17 KB
/
composer.json
File metadata and controls
72 lines (72 loc) · 2.17 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
{
"name": "initphp/performance-meter",
"description": "Zero-dependency, single-file PHP profiler for measuring elapsed time and memory usage between named checkpoints.",
"type": "library",
"license": "MIT",
"keywords": [
"profiler",
"benchmark",
"performance",
"memory",
"timing",
"stopwatch",
"initphp"
],
"authors": [
{
"name": "Muhammet ŞAFAK",
"email": "info@muhammetsafak.com.tr",
"role": "Developer",
"homepage": "https://www.muhammetsafak.com.tr"
}
],
"support": {
"issues": "https://github.com/InitPHP/PerformanceMeter/issues",
"source": "https://github.com/InitPHP/PerformanceMeter",
"docs": "https://github.com/InitPHP/PerformanceMeter/tree/main/docs"
},
"require": {
"php": "^8.1"
},
"require-dev": {
"phpunit/phpunit": "^10.5",
"phpstan/phpstan": "^1.11",
"friendsofphp/php-cs-fixer": "^3.50"
},
"autoload": {
"psr-4": {
"InitPHP\\PerformanceMeter\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"InitPHP\\PerformanceMeter\\Tests\\": "tests/"
}
},
"scripts": {
"test": "phpunit",
"test-coverage": "phpunit --coverage-html build/coverage --coverage-text",
"phpstan": "phpstan analyse --memory-limit=512M",
"cs-check": "php-cs-fixer fix --dry-run --diff",
"cs-fix": "php-cs-fixer fix",
"qa": [
"@cs-check",
"@phpstan",
"@test"
]
},
"scripts-descriptions": {
"test": "Run the PHPUnit test suite.",
"test-coverage": "Run tests and emit HTML + text coverage reports.",
"phpstan": "Run PHPStan static analysis at the configured level.",
"cs-check": "Verify coding standards without modifying files.",
"cs-fix": "Apply coding standard fixes in place.",
"qa": "Run the full QA pipeline (cs-check, phpstan, test)."
},
"minimum-stability": "stable",
"prefer-stable": true,
"config": {
"sort-packages": true,
"allow-plugins": {}
}
}