{
    "name": "amphp/socket",
    "homepage": "https://github.com/amphp/socket",
    "description": "Async socket connection / server tools for Amp.",
    "support": {
        "issues": "https://github.com/amphp/socket/issues"
    },
    "keywords": [
        "tcp",
        "sockets",
        "tls",
        "encryption",
        "async",
        "non-blocking",
        "amp"
    ],
    "license": "MIT",
    "authors": [
        {
            "name": "Daniel Lowrey",
            "email": "rdlowrey@gmail.com"
        },
        {
            "name": "Aaron Piotrowski",
            "email": "aaron@trowski.com"
        },
        {
            "name": "Niklas Keller",
            "email": "me@kelunik.com"
        }
    ],
    "require": {
        "php": ">=7.1",
        "ext-openssl": "*",
        "amphp/amp": "^2",
        "amphp/dns": "^1 || ^0.9",
        "amphp/byte-stream": "^1.6",
        "kelunik/certificate": "^1.1",
        "league/uri-parser": "^1.4"
    },
    "require-dev": {
        "phpunit/phpunit": "^6 || ^7 || ^8",
        "amphp/phpunit-util": "^1",
        "amphp/php-cs-fixer-config": "dev-master",
        "vimeo/psalm": "^3.9@dev"
    },
    "autoload": {
        "psr-4": {
            "Amp\\Socket\\": "src"
        },
        "files": [
            "src/functions.php",
            "src/Internal/functions.php"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "Amp\\Socket\\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"
    },
    "extra": {
        "branch-alias": {
            "dev-master": "1.x-dev"
        }
    }
}
