{
    "name": "arokettu/bencode",
    "description": "BitTorrent's Bencode encoder/decoder",
    "keywords": ["bittorrent", "torrent", "bencode", "serialize"],
    "homepage": "https://sandfox.dev/php/bencode.html",
    "type": "library",
    "license": "MIT",
    "authors": [
        {
            "name": "Anton Smirnov",
            "role": "developer",
            "homepage": "https://sandfox.me",
            "email": "sandfox@sandfox.me"
        }
    ],
    "support": {
        "issues": "https://gitlab.com/sandfox/bencode/-/issues",
        "source": "https://gitlab.com/sandfox/bencode",
        "docs": "https://bencode.readthedocs.io/",
        "chat": "https://gitter.im/arokettu/community"
    },
    "config": {
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true
        },
        "sort-packages": true
    },
    "autoload": {
        "psr-4": {
            "Arokettu\\Bencode\\": "src"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Arokettu\\Bencode\\Tests\\": "tests"
        }
    },
    "require": {
        "php": "^8.1",
        "arokettu/is-resource": "^1.0"
    },
    "require-dev": {
        "ext-bcmath": "*",
        "ext-gmp": "*",
        "ext-json": "*",
        "brick/math": "*",
        "mikey179/vfsstream": "^1.6.11",
        "pear/math_biginteger": "^1.0",
        "phpunit/phpunit": "^10.5.28",
        "psy/psysh": "*",
        "sandfox.dev/code-standard": "^1.2025.05.07",
        "squizlabs/php_codesniffer": "*",
        "vimeo/psalm": "^6"
    },
    "suggest": {
        "php-64bit": "Running 64 bit is recommended to prevent integer overflow",
        "ext-gmp": "In case you need integers larger than your architecture supports",
        "ext-bcmath": "In case you need integers larger than your architecture supports (PHP 8.4 or later)",
        "brick/math": "In case you need integers larger than your architecture supports",
        "pear/math_biginteger": "In case you need integers larger than your architecture supports"
    }
}
