-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
84 lines (84 loc) · 2.28 KB
/
composer.json
File metadata and controls
84 lines (84 loc) · 2.28 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
{
"name" : "fab2s/math",
"description" : "A Base10 high precision math helper",
"type" : "library",
"authors" : [{
"name" : "Fabrice de Stefanis"
}],
"keywords" : [
"math",
"PHP",
"Simple",
"Base10",
"decimal",
"BcMath",
"HighPrecision",
"laravel"
],
"license" : [
"MIT"
],
"require" : {
"php": "^8.1",
"ext-bcmath": "*",
"fab2s/context-exception": "^2.0|^3.0"
},
"require-dev": {
"phpunit/phpunit": "^10.0|^11.0",
"laravel/pint": "^1.11",
"orchestra/testbench": "^8.0|^9.0|^10.0",
"phpstan/phpstan": "^2.1",
"brick/math": "^0.14.7",
"phpbench/phpbench": "^1.4"
},
"autoload": {
"psr-4": {
"fab2s\\Math\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"fab2s\\Math\\Tests\\": "tests",
"fab2s\\Math\\Benchmarks\\": "benchmarks"
}
},
"scripts": {
"post-update-cmd": [
"rm -rf .*.cache"
],
"post-install-cmd": [
"rm -rf .*.cache"
],
"fix": [
"Composer\\Config::disableProcessTimeout",
"@php vendor/bin/pint --ansi --config pint.json --"
],
"test": [
"Composer\\Config::disableProcessTimeout",
"@php vendor/bin/phpunit --colors --"
],
"cov": [
"Composer\\Config::disableProcessTimeout",
"@php vendor/bin/phpunit --colors --coverage-html ./cov --"
],
"stan": [
"Composer\\Config::disableProcessTimeout",
"@php vendor/bin/phpstan analyse -c ./phpstan.neon --ansi --"
],
"stan-tests": [
"Composer\\Config::disableProcessTimeout",
"@php vendor/bin/phpstan analyse -c ./phpstan-tests.neon --ansi --"
],
"bench": [
"Composer\\Config::disableProcessTimeout",
"XDEBUG_MODE=off @php vendor/bin/phpbench run --report=aggregate --"
],
"bench-md": [
"Composer\\Config::disableProcessTimeout",
"@php benchmarks/report.php --"
]
},
"suggest": {
"ext-gmp": "For faster base conversion, mod, pow and powMod"
}
}