{
    "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": "david.cole1340@gmail.com"
        }
    ],
    "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 || ^3.0",
        "exan/pawl": "^0.4.4",
        "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",
        "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",
        "react/promise": "^3.0.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": "^4.5",
        "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"],
        "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"]
    }
}
