-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
65 lines (65 loc) · 1.99 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
{
"name": "onmoon/money",
"description": "Opinionated extension of moneyphp/money with Doctrine types",
"type": "library",
"license": "MIT",
"keywords": [
"money",
"currency",
"vo",
"value object",
"doctrine",
"type"
],
"authors": [
{
"name": "Patrik Foldes",
"email": "[email protected]"
}
],
"require": {
"php": "^8.1",
"ext-bcmath": "*",
"doctrine/dbal": "^4",
"moneyphp/money": "^4.0.3",
"thecodingmachine/safe": "^1.3|^2"
},
"require-dev": {
"doctrine/coding-standard": "^12.0",
"phpstan/phpstan": "^1.12",
"phpunit/phpunit": "^10.5",
"roave/no-floaters": "^1.11",
"squizlabs/php_codesniffer": "^3.10",
"thecodingmachine/phpstan-safe-rule": "^1.1|^1.2",
"vimeo/psalm": "^5.26"
},
"minimum-stability": "stable",
"config": {
"preferred-install": {
"*": "dist"
},
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"autoload": {
"psr-4": {
"OnMoon\\Money\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"OnMoon\\Money\\Tests\\": "tests/"
}
},
"scripts": {
"cs": "phpcs",
"csfix": "phpcbf",
"psalm": "psalm",
"stan": "phpstan analyze src -l 8 --memory-limit=512m",
"sec": "rm -f local-php-security-checker && curl -s https://api.github.com/repos/fabpot/local-php-security-checker/releases/latest | grep -E \"browser_download_url(.+)linux_amd64\" | cut -d : -f 2,3 | tr -d \\\" | xargs -I % curl % -L -o local-php-security-checker && chmod +x local-php-security-checker && ./local-php-security-checker",
"test": "phpunit --display-phpunit-deprecations",
"all": "composer psalm && composer stan && composer test && composer cs && composer sec"
}
}