-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcomposer.json
75 lines (75 loc) · 2.26 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
{
"name": "postscripton/laravel-money",
"description": "Laravel Money is an open source package that provides you a convinient way to work with numbers from database with high precision and use them as monetary objects. With this package, you can easily operate, compare, format, and even convert monetary objects to other currencies using external API providers.",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "PostScripton",
"email": "[email protected]"
}
],
"require": {
"php": "^8.1",
"ext-json": "*",
"ext-bcmath": "*",
"guzzlehttp/guzzle": "^7.5",
"spatie/laravel-package-tools": "^1.12"
},
"require-dev": {
"orchestra/testbench": "^7.0",
"slevomat/coding-standard": "^8.5",
"squizlabs/php_codesniffer": "^3.6"
},
"autoload": {
"files": [
"src/helpers.php"
],
"psr-4": {
"PostScripton\\Money\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"PostScripton\\Money\\Tests\\": "tests/"
}
},
"extra": {
"laravel": {
"providers": [
"PostScripton\\Money\\MoneyServiceProvider"
]
}
},
"scripts": {
"app:check-build": [
"@app:cs",
"@app:test-fast"
],
"app:cs": [
"@app:cs-slevomat-coding-standard-rules",
"@app:cs-folders"
],
"app:cs-slevomat-coding-standard-rules": [
"phpcs --standard=ruleset.xml --extensions=php --tab-width=4 -sp src tests config"
],
"app:cs-folders": [
"phpcs --standard=PSR12 --encoding=utf-8 -p src -p tests -p config"
],
"app:test": [
"phpunit --coverage-clover=coverage.xml"
],
"app:test-fast": [
"phpunit --no-coverage"
],
"app:cs-fix": [
"phpcbf --standard=ruleset.xml --extensions=php --tab-width=4 -sp src tests config",
"phpcbf --standard=PSR12 --encoding=utf-8 -p src -p tests -p config"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}