forked from discord-php/DiscordPHP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
65 lines (65 loc) · 2.3 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": "team-reflex/discord-php",
"description": "An unofficial API to interact with the voice and text service Discord.",
"license": "MIT",
"authors": [
{
"name": "David Cole",
"email": "[email protected]"
}
],
"support": {
"issues": "https://github.com/discord-php/DiscordPHP/issues",
"wiki": "https://github.com/discord-php/DiscordPHP/wiki",
"docs": "https://discord-php.github.io/DiscordPHP/",
"chat": "https://discord.gg/dphp"
},
"require": {
"php": "^8.0",
"nesbot/carbon": "^2.38",
"ratchet/pawl": "^0.4.1",
"react/datagram": "^1.8",
"symfony/options-resolver": "^5.1.11 || ^6.0 || ^7.0",
"trafficcophp/bytebuffer": "^0.3",
"monolog/monolog": "^2.1.1 || ^3.0",
"react/event-loop": "^1.2",
"react/promise": "^2.2",
"ext-json": "*",
"ext-zlib": "*",
"discord-php/http": "^10.1.7",
"react/child-process": "^0.6.3",
"discord/interactions": "^2.2",
"react/async": "^4.0 || ^3.0",
"react/cache": "^0.5 || ^0.6 || ^1.0",
"psr/simple-cache": "^1.0 || ^2.0 || ^3.0"
},
"require-dev": {
"symfony/var-dumper": "*",
"friendsofphp/php-cs-fixer": "^3",
"phpunit/phpunit": "^9.4.4",
"davidcole1340/reactsh": "dev-master",
"wyrihaximus/react-cache-redis": "^3.0 || >=4.0 <4.4",
"symfony/cache": "^5.4"
},
"autoload": {
"files": [
"src/Discord/functions.php"
],
"psr-4": {
"Discord\\": "src/Discord"
}
},
"suggest": {
"ext-gmp": "For 64 bit calculations on x86 (32 bit) PHP.",
"ext-uv": "For a faster, and more performant loop. Preferred.",
"ext-ev": "For a faster, and more performant loop.",
"ext-event": "For a faster, and more performant loop.",
"ext-mbstring": "For accurate calculations of string length when handling non-english characters.",
"ext-fileinfo": "For function mime_content_type()."
},
"scripts": {
"cs": ["./vendor/bin/php-cs-fixer fix"],
"unit": ["./vendor/bin/phpunit --testdox"],
"coverage": ["XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-html coverage --testdox"]
}
}