{
    "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"
        },
        {
            "name": "Valithor Obsidion",
            "email": "valithor@discordphp.org"
        }
    ],
    "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.1.2",
        "nesbot/carbon": "^2.38 || ^3.0",
        "ratchet/pawl": "^0.4.3",
        "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-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",
        "discord-php-helpers/collection": "^8.0",
        "discord-php-helpers/voice": "^8.0 || dev-main"
    },
    "require-dev": {
        "symfony/var-dumper": "*",
        "friendsofphp/php-cs-fixer": "^3",
        "davidcole1340/reactsh": "dev-master",
        "wyrihaximus/react-cache-redis": "^4.5",
        "symfony/cache": "^5.4",
        "laravel/pint": "^1.21",
        "pestphp/pest": "^4.1.2",
        "carthage-software/mago": "1.1.0"
    },
    "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().",
        "laracord/laracord": "Provides Laracord integration for DiscordPHP."
    },
    "scripts": {
        "pint": ["./vendor/bin/pint --config ./pint.json ./src"],
        "cs": ["./vendor/bin/php-cs-fixer fix"],
        "cs-unsupported": ["./vendor/bin/php-cs-fixer fix --allow-unsupported-php-version yes"],
        "mago-lint": ["./vendor/bin/mago lint src/"],
        "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"],
        "pest": "pest --parallel"
    },
    "config": {
        "allow-plugins": {
            "pestphp/pest-plugin": true,
            "carthage-software/mago": true
        }
    }
}
