forked from moneyphp/money
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
98 lines (98 loc) · 2.84 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
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "moneyphp/money",
"description": "PHP implementation of Fowler's Money pattern",
"keywords": [
"money",
"vo",
"value object"
],
"homepage": "http://moneyphp.org",
"license": "MIT",
"authors": [
{
"name": "Mathias Verraes",
"email": "[email protected]",
"homepage": "http://verraes.net"
},
{
"name": "Márk Sági-Kazár",
"email": "[email protected]"
},
{
"name": "Frederik Bosch",
"email": "[email protected]"
}
],
"require": {
"php": "^8.0",
"ext-bcmath": "*",
"ext-filter": "*",
"ext-json": "*"
},
"require-dev": {
"ext-gmp": "*",
"ext-intl": "*",
"cache/taggable-cache": "^1.1.0",
"doctrine/coding-standard": "^9.0",
"doctrine/instantiator": "^1.4.0",
"florianv/exchanger": "^2.6.3",
"florianv/swap": "^4.3.0",
"moneyphp/iso-currencies": "^3.2.1",
"php-http/message": "^1.11.0",
"php-http/mock-client": "^1.4.1",
"phpbench/phpbench": "1.0.0-beta1@BETA",
"phpspec/phpspec": "^7.0.1",
"phpunit/phpunit": "^9.5.4",
"psalm/plugin-phpunit": "^0.15.1",
"psr/cache": "^1.0.1",
"roave/infection-static-analysis-plugin": "^1.7",
"vimeo/psalm": "~4.7.0 || ^4.8.2"
},
"suggest": {
"ext-gmp": "Calculate without integer limits",
"ext-intl": "Format Money objects with intl",
"florianv/exchanger": "Exchange rates library for PHP",
"florianv/swap": "Exchange rates library for PHP",
"psr/cache-implementation": "Used for Currency caching"
},
"config": {
"sort-packages": true
},
"extra": {
"branch-alias": {
"dev-master": "3.x-dev"
}
},
"autoload": {
"psr-4": {
"Money\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Benchmark\\Money\\": "benchmark/",
"Tests\\Money\\": "tests/",
"spec\\Money\\": "spec/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"benchmark": [
"vendor/bin/phpbench run --retry-threshold=3 --iterations=15 --revs=1000 --warmup=2"
],
"clean": "rm -rf build/ vendor/",
"test": [
"vendor/bin/phpspec run",
"vendor/bin/phpunit -v",
"vendor/bin/phpbench run"
],
"test-coverage": [
"vendor/bin/phpunit -v --coverage-text --coverage-clover=build/unit_coverage.xml"
],
"update-currencies": [
"cp vendor/moneyphp/iso-currencies/resources/current.php resources/currency.php",
"php resources/generate-money-factory.php"
]
}
}