Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
92 lines (92 loc) · 2.56 KB
/
Copy pathcomposer.json
File metadata and controls
92 lines (92 loc) · 2.56 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
85
86
87
88
89
90
91
92
{
"name": "discord-php-extended/discordphp-mtg",
"description": "Magic: The Gathering library and bot for Discord, built on DiscordPHP, with card data from MTGJSON (mtgjson.com).",
"license": "MIT",
"authors": [
{
"name": "Valithor Obsidion",
"email": "valithor@discordphp.org"
}
],
"require": {
"php": "^8.3",
"ext-pdo_sqlite": "*",
"ext-zlib": "*",
"team-reflex/discord-php": "* || dev-master",
"discord-php/http": "dev-master as 10.9.8",
"react/http": "^1.9"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3",
"phpunit/phpunit": "^9.4.4",
"laravel/pint": "^1.21",
"wyrihaximus/react-cache-redis": "^4.5",
"phpacker/phpacker": "^0.6.4"
},
"scripts": {
"pint": [
"./vendor/bin/pint --config ./pint.json ./src"
],
"cs": "php-cs-fixer fix",
"cs-unsupported": "php-cs-fixer fix --allow-unsupported-php-version yes",
"unit": "phpunit",
"coverage": [
"XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-html coverage --testdox"
],
"php8.0": [
"docker-compose run php8.0 sh"
],
"php8.1": [
"docker-compose run php8.1 sh"
],
"php8.2": [
"docker-compose run php8.2 sh"
],
"php8.3": [
"docker-compose run php8.3 sh"
],
"php8.4": [
"docker-compose run php8.4 sh"
],
"php8.5": [
"docker-compose run php8.5 sh"
],
"phpacker": [
"@phpacker:bot"
],
"phpacker:bot": "phpacker build --src=bot.php --dest=bin/build/bot"
},
"minimum-stability": "dev",
"prefer-stable": true,
"repositories": [
{
"type": "path",
"url": "../DiscordPHP",
"options": {
"symlink": true
}
},
{
"type": "path",
"url": "../DiscordPHP-Http",
"options": {
"symlink": true
}
}
],
"config": {
"allow-plugins": {
"wyrihaximus/composer-update-bin-autoload-path": true
}
},
"autoload": {
"psr-4": {
"MTG\\": "src/MTG/",
"Discord\\": "src/Discord/"
}
},
"scripts-descriptions": {
"phpacker": "Build a standalone binary for bot.php (all platforms).",
"phpacker:bot": "Build a standalone binary for bot.php into bin/build/bot."
}
}