{
    "name": "danog/dns-over-https",
    "homepage": "https://github.com/danog/dns-over-https",
    "description": "Async DNS-over-HTTPS resolution for Amp.",
    "keywords": [
        "dns",
        "doh",
        "dns-over-https",
        "https",
        "resolve",
        "client",
        "async",
        "amp",
        "amphp"
    ],
    "license": "MIT",
    "authors": [
        {
            "name": "Daniil Gentili",
            "email": "daniil@daniil.it"
        },
        {
            "name": "Chris Wright",
            "email": "addr@daverandom.com"
        },
        {
            "name": "Daniel Lowrey",
            "email": "rdlowrey@php.net"
        },
        {
            "name": "Bob Weinand",
            "email": "bobwei9@hotmail.com"
        },
        {
            "name": "Niklas Keller",
            "email": "me@kelunik.com"
        },
        {
            "name": "Aaron Piotrowski",
            "email": "aaron@trowski.com"
        }
    ],
    "require": {
        "php": ">=8.1",
        "amphp/cache": "^2",
        "amphp/parser": "^1",
        "danog/libdns-json": "^0.2",
        "daverandom/libdns": "^2.0.1",
        "amphp/amp": "^3",
        "amphp/http-client": "^5",
        "amphp/socket": "^2",
        "amphp/dns": "^2",
        "ext-filter": "*",
        "ext-json": "*"
    },
    "prefer-stable": true,
    "require-dev": {
        "amphp/phpunit-util": "^3",
        "phpunit/phpunit": "^9",
        "amphp/php-cs-fixer-config": "^2",
        "vimeo/psalm": "dev-master"
    },
    "autoload": {
        "psr-4": {
            "Amp\\DoH\\": "lib"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Amp\\DoH\\Test\\": "test"
        }
    },
    "scripts": {
        "check": [
            "@cs",
            "@test"
        ],
        "cs": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix -v --diff --dry-run",
        "cs-fix": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix -v --diff",
        "test": "@php -dzend.assertions=1 -dassert.exception=1 ./vendor/bin/phpunit --coverage-text"
    }
}
