Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
75 lines (75 loc) · 2.1 KB
/
Copy pathcomposer.json
File metadata and controls
75 lines (75 loc) · 2.1 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
{
"name": "part-db/swap",
"description": "Fork of florianv/swap modernized for use in Part-DB. Exchange rates library for PHP",
"keywords": ["currency", "money", "rate", "conversion", "exchange rates"],
"license": "MIT",
"keywords": [
"currency",
"money",
"rate",
"conversion",
"exchange rates",
"currency conversion",
"currency conversion library",
"php currency conversion",
"exchange rate api",
"forex",
"forex api"
],
"authors": [
{
"name": "Florian Voutzinos",
"email": "florian@voutzinos.com",
"homepage": "https://voutzinos.com"
},
{
"name": "Jan Böhmer",
"email": "mail@jan-boehmer.de"
}
],
"require": {
"php": "^8.2",
"part-db/exchanger": "^3.0",
"php-http/discovery": "^1.0"
},
"require-dev": {
"nyholm/psr7": "^1.0",
"php-http/message": "^1.7",
"php-http/mock-client": "^1.0",
"phpunit/phpunit": "^11.0 || ^12.0",
"roave/backward-compatibility-check": "^8.9",
"vimeo/psalm": "^6.0"
},
"suggest": {
"nyholm/psr7": "PSR-17 HTTP factory implementation",
"php-http/discovery": "Auto-discover PSR-18 HTTP client and PSR-17 request factory",
"symfony/http-client": "PSR-18 HTTP client implementation"
},
"autoload": {
"psr-4": {
"Swap\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Swap\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"php-http/discovery": true
}
},
"extra": {
"branch-alias": {
"dev-master": "4.0-dev"
}
},
"scripts": {
"cs:check": "vendor/bin/php-cs-fixer fix --no-interaction --ansi --verbose --dry-run",
"cs:fix": "vendor/bin/php-cs-fixer fix --no-interaction --ansi --quiet",
"psalm": "vendor/bin/psalm --no-progress",
"test": "vendor/bin/phpunit",
"upd": "@composer update --no-plugins"
}
}