-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
66 lines (65 loc) · 2.49 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
{
"name": "spaf/simputils",
"description": "Simple minimal but useful set of utils (properties, strings, datetimes, etc.) ",
"keywords": [
"simple", "utils", "micro", "framework", "quick prototyping",
"properties", "phpinfo", "php", "easy cast", "meta-magic", "files", "dirs", "env",
"dotenv", "csv", "json", "namespace", "routines", "data unit conversion",
"box", "wrappers", "library", "validation", "normalization", "norm", "valid", "debug",
"quick", "fields", "attributes", "datetime", "date", "time", "timezone", "tz",
"serialization", "deserialization", "set", "math sets", "optimization", "light",
"version", "array-object"
],
"minimum-stability": "stable",
"license": "MIT",
"authors": [
{
"name": "Ivan Ponomarev",
"email": "[email protected]"
}
],
"type": "library",
"require": {
"php": ">=8.0",
"ext-fileinfo": "*",
"ext-mbstring": "*"
},
"require-dev": {
"phpunit/phpunit": "^9",
"phpmd/phpmd": "^2.13"
},
"suggest": {
"ext-gmp": "GMP Extension (BigNumbers calculation functionality, without fractions support but much quicker)",
"ext-bcmath": "BCMATH Extension (BigNumbers calculation functionality with fractions support, but slower)"
},
"autoload": {
"psr-4": {
"spaf\\simputils\\": "src/"
},
"files": ["src/basic.php"]
},
"scripts": {
"test": [
"phpunit tests"
],
"coverage": [
"XDEBUG_MODE=coverage phpunit tests --coverage-html docs/reports/coverage/html"
],
"coverage-clover": [
"XDEBUG_MODE=coverage phpunit tests --coverage-clover docs/reports/coverage/clover.xml"
],
"mess": [
"phpmd --ignore-violations-on-exit src/ html codesize,unusedcode,naming > docs/reports/quality/mess-analysis-codesize-report.html"
],
"pipeline-mess": [
"phpmd src/ text codesize,unusedcode,naming"
]
},
"scripts-descriptions": {
"test": "Run the whole PHPUnit test suit",
"coverage": "Run the whole PHPUnit test with Coverage suit. Output in HTML at \"docs/coverage/html\"",
"coverage-clover": "Run the whole PHPUnit test with Coverage suit. Output in clover xml at \"docs/coverage/\"",
"mess": "Runs phpmd Mess Analysis on scopes of \"codesize,unusedcode,naming\". Output in HTML at \"docs/quality/mess-analysis-codesize-report.html\"",
"pipeline-mess": "Runs phpmd Mess Analysis on scopes of \"codesize,unusedcode,naming\" and return non 0 exit status if rules are violated. Reasonable for CI/CD pipelines."
}
}